You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/08/19 23:19:49 UTC

[jira] [Created] (HBASE-9266) Javadoc: Document that HBaseAdmin.flush(...) is synchronous

Lars Hofhansl created HBASE-9266:
------------------------------------

             Summary: Javadoc: Document that HBaseAdmin.flush(...) is synchronous
                 Key: HBASE-9266
                 URL: https://issues.apache.org/jira/browse/HBASE-9266
             Project: HBase
          Issue Type: Bug
            Reporter: Lars Hofhansl
            Priority: Trivial
             Fix For: 0.98.0, 0.94.12, 0.95.3


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira