Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3219 Review Coverity
  3. ACCUMULO-3222

Durability obtained before tablet null check

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • tserver

    Description

      The durability for a tablet is obtained before the tablet is checked to ensure it is non-null.

      TabletServer.java
      Tablet tablet = onlineTablets.get(entry.getKey());
      Durability tabletDurability = tablet.getDurability();
      if (tablet == null || tablet.isClosed() || sessionCanceled) {
      

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              0 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 - 10m
                  10m