-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Storage
-
ALL
-
I saw rocks storage deadlock when trying to acquire RocksEngine::_entryMapMutex twice. Here is the call stack
...
#7 mongo::RocksEngine::getIndexColumnFamily at src/mongo/db/storage/rocks/rocks_engine.cpp:224
#8 mongo::RocksCollectionCatalogEntry::removeIndex at src/mongo/db/storage/rocks/rocks_collection_catalog_entry.cpp:121
#9 mongo::RocksEngine::_dropCollection_inlock at src/mongo/db/storage/rocks/rocks_engine.cpp:348
#10 mongo::RocksEngine::dropDatabase at src/mongo/db/storage/rocks/rocks_engine.cpp:188
...
In dropDatabase(), _entryMapMutex is already acquired but in getIndexColumnFamily() it tries to acquire _entryMapMutex agin.
- is related to
-
SERVER-15055 rocks: unit testjstests/core/apitest_db.js and jstests/core/batch_write_command_insert.js fail
- Closed
-
SERVER-14352 prototype and implement rocksdb storage engine
- Closed
-
SERVER-13635 Clean up the storage abstraction layer
- Closed
- related to
-
SERVER-15085 rocks storage fails when restarting
- Closed
-
SERVER-15161 RocksCursor::_reverseLocate() Should Seek to Last if can't seek to the key
- Closed
-
SERVER-15271 rocks engine doesn't return capped information in RocksRecordStore::appendCustomStats()
- Closed
-
SERVER-15232 Rocks Storage Engine to support Index Bulk Builder
- Closed
- links to