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

Inconsistent synchronization on currentLogs in Tablet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.6.3
    • tserver
    • None

    Description

      Around line 2250:

        public Set<String> getCurrentLogFiles() {
          Set<String> result = new HashSet<String>();
          synchronized (currentLogs) {
            for (DfsLogger log : currentLogs) {
      

      However, lock on Tablet.this is held in other places where currentLogs is accessed.

      Attachments

        Activity

          People

            ctubbsii Christopher Tubbs
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h