Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14642

Document lock handling in CompactionStrategyManager

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: 3.11.x, 4.x
    • Component/s: Local/Compaction
    • Labels:
      None

      Description

      noticed that this comment is out-of-date since CASSANDRA-13948

              // we need a write lock here since we move sstables from one strategy instance to another
              readLock.lock();
      

      we should update the comments and make sure it is actually correct to just grab a read lock here.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcuse Marcus Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: