Description
Currently, RocksDBIterator#close accesses RocksDbStore#openIterators without taking the RocksDbStore lock. The only lock RocksDBIterator#close holds is a lock on the iterator object, which does not help here. So RocksDbStore#openIterators should be made synchronized. Otherwise there is undefined behavior, including ConcurrentModificationExceptions.
Attachments
Issue Links
- links to