-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
-
0.25
http://docs.mongodb.org/manual/reference/command/convertToCapped/ does not mention that the command acquires a global write lock on the server, with all the dire consequences this can have on a live instance.
The guide about "Converting a collection to capped" does mention it.
It appears the mention was removed in DOCS-4502 allegedly because "This is no longer true in 2.8 due to SERVER-15826" back in 2014.
I assume there was some confusion, as I found no evidence of the lock being actually removed, though it does switch to a DB lock in some cases after SERVER-15723 - a very recent change (3.4.10/3.5.10).
If that report is confirmed, might a revert of mongodb/docs 72f694e be enough?
- is caused by
-
DOCS-4502 Remove 'global write lock' mention from convertToCapped page
- Closed
- related to
-
SERVER-15723 Avoid G_X lock for rename_collection within database
- Closed
-
SERVER-15826 ConvertToCapped appears to be taking a G_X lock
- Closed