Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5198

RocksDbStore#openIterators should be synchronized, since it is accessed from multiple threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • streams
    • None

    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

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: