Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22179

Fix RawAsyncHBaseAdmin.getCompactionState

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

                        if (!future.isDone()) {
                          future.complete(state);
                        }
      

      This piece of code should be placed outside the for loop, it should be a typo. And we should use a thread safe collection to collect the region state instead of using an ArrayList.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: