[MDEV-18682] mysqld: unknown option '--disable-sync-sys' Created: 2019-02-21 Updated: 2019-03-13 Resolved: 2019-03-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Vašek Purchart | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I have been trying to turn off syncing to disk in my testing-only setup and found out this is supposed to be done with the --disable-sync-sys option. As far as I can tell this was introduced a long time ago and specifically to fit this case (see Revision #2891.1.5). So if this was not deprecated/removed somehow (which I would hope would be mentioned in the docs) I think this is an error. I already asked in the Docker image repository whether this could be due to how the image is prepared, but they assured me, that they do not disable any such settings.
I have tested with older versions as well but the oldest I found is 5.5 and it is not working there either:
Using --sync-sys=0 is not working either. I have also found out that more of the debug options are not recognized in the same manner. When searching around here I found a lot of issues reported around 2010 were using these options, but then it stopped. Commit that introduced these options: https://github.com/MariaDB/server/commit/12648015b322e885923f87d919c07529423a0eca |
| Comments |
| Comment by Elena Stepanova [ 2019-02-24 ] |
|
Thanks for the report. Apparently, it's a very outdated record, it appears that disable-sync-sys was replaced by debug-no-sync many years ago, in 2011. For debug options not being recognized, please note that debug options are only available in debug builds, I am not sure yours is such. If it is, then maybe you have encountered other omissions in the documentation, please let us know. |
| Comment by Ian Gilfillan [ 2019-03-05 ] |
|
Documentation updated. |
| Comment by Vašek Purchart [ 2019-03-13 ] |
|
Great, thanks! |