Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      All the existing stores/cache need to be thread safe in order to be used by multithreaded tasks. The following changes are made to ensure the thread safety of the stores:

      • For CachedStore, use sychronized lock for each public function;
      • For current InMemoryKeyValueStore, use ConcurrentSkipListMap as underlying map for thread safety.
      • For store Iterator, do not support remove functionality (throw UnsupportedOperationException like RocksDb does today).

        Attachments

          Activity

            People

            • Assignee:
              xinyu Xinyu Liu
              Reporter:
              xinyu Xinyu Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: