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

Repair should never reuse a tree

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.5
    • None
    • None
    • Normal

    Description

      AEService currently 'caches' MerkleTrees that have been generated by the local node, and can respond to a request for a tree with a cached version. This means that despite possibly having performed a repair, the two nodes will still be holding cached trees, and can respond to one another with the cached version, resulting in redundant repairs.

      Rather than a cache, the map of trees is intended to be a rendezvous point for two nodes to exchange relatively up-to-date trees. A map still might work, but other synchronization objects should be explored.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stuhood Stu Hood Assign to me
            stuhood Stu Hood
            Stu Hood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment