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

Javadoc: Document that HBaseAdmin.flush(...) is synchronous

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.94.12
    • None
    • None
    • Reviewed

    Description

      Currently the Javadoc in HBaseAdmin.flush(...) says that this is an asynchronous operation. Looking at the, however, it is in fact not.

      Having this as a synchronous operation open ups some use cases we're interested in. For example doing some ingest via the high level API with WAL disabled and then issue a flush through the HBaseAdmin. When the flush succeeded we know the data is securely in HBase.
      (This should work even with intermediary splits, as they also force a flush, but that needs to be verified as well.

      So this is just for a trivial Javadoc change.

      Attachments

        1. 9266.txt
          0.8 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: