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

Endpoints no longer owning tokens are not removed for vnode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Cluster/Gossip
    • Labels:
      None
    • Bug Category:
      Correctness - Recoverable Corruption / Loss
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      User Report
    • Platform:
      All
    • Impacts:
      None
    • Test and Documentation Plan:
      Hide

      Unittest is passed. And the code is committed and running in Instagram production environment.

      Show
      Unittest is passed. And the code is committed and running in Instagram production environment.

      Description

      The logical here to remove endpoints no longer owning tokens is not working for multiple tokens (vnode):
      https://github.com/apache/cassandra/blob/06209037ea56b5a2a49615a99f1542d6ea1b2947/src/java/org/apache/cassandra/service/StorageService.java#L2505

      And it's very expensive to copy the tokenmetadata for every check.

        Attachments

          Activity

            People

            • Assignee:
              jay.zhuang Jay Zhuang
              Reporter:
              jay.zhuang Jay Zhuang
              Authors:
              Jay Zhuang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: