|
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?
|