Right now, in the WiredTiger integration layer, we generate a new global cursor epoch and close all cursors that are returned to the cache on encountering a WT_BUSY attempting to drop a specific ident. Change closeAllCursors to only close cursors on the idents that require dropping.
This is expected to significantly help users with large numbers of collections.
- depends on
-
SERVER-27345 reclaim inactive WT sessions on calling closeAllCursors
- Closed
-
WT-3369 WT_CURSOR->uri should always match the URI used to open the cursor
- Closed
- is depended on by
-
SERVER-27348 Only retry dropping idents on WiredTiger after closing cursors on them
- Closed
- is duplicated by
-
SERVER-29024 Collection drop slows/stalls down database operations
- Closed
- related to
-
SERVER-30426 dropDatabase very slow due to repeated calls to closeAllCursors
- Closed