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

Endpoints no longer owning tokens are not removed for vnode

    XMLWordPrintableJSON

Details

    • Correctness - Recoverable Corruption / Loss
    • Normal
    • Normal
    • User Report
    • All
    • None
    • 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

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

            Dates

              Created:
              Updated: