Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1152

Add more sanity checks to limit the damage of multiple assignment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None

    Description

      When an issue like ACCUMULO-954 comes along and causes a tablet to be hosted on multiple tablet servers, its nice to have sanity checks that limit the damage this can cause.

      Accumulo already has a sanity check on writes to the metadata table that ensures the tablet server making the write still holds a lock. This has reliably triggered in cases of multiple assignment bugs. It would be nice to have more checks like this. Below are some places I think checks would be useful, are there more?

      • Tserver attempts to positively check it holds its lock before getting a new walog.
      • Clients take some action to clear lockless tservers from their metadata table cache. This would help prevent writing data to a zombie tserver that may lose data, or reading stale data from a zombie tserver.

      Attachments

        Issue Links

          Activity

            People

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: