[ 
https://issues.apache.org/jira/browse/HBASE-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891434#comment-13891434
 ] 

Enis Soztutar commented on HBASE-10467:
---------------------------------------

Basically undo the patch at HBASE-10324 for HTD: 
{code}
-  @Deprecated
-  public synchronized boolean isDeferredLogFlush() {
+  public synchronized boolean isAsyncLogFlush() {
     return getDurability() == Durability.ASYNC_WAL;
   }
-  @Deprecated
-  public synchronized void setDeferredLogFlush(final boolean 
isDeferredLogFlush) {
-    this.setDurability(isDeferredLogFlush ? Durability.ASYNC_WAL : 
DEFAULT_DURABLITY);
+  public synchronized void setAsyncLogFlush(final boolean isAsyncLogFlush) {
+    this.setDurability(isAsyncLogFlush ? Durability.ASYNC_WAL : 
DEFAULT_DURABLITY);
   }
{code}

We should add the @Deprecated annotations as well. 

> Restore HTableDescriptor#isDeferredLogFlush() in 0.98
> -----------------------------------------------------
>
>                 Key: HBASE-10467
>                 URL: https://issues.apache.org/jira/browse/HBASE-10467
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.0, 0.99.0
>
>         Attachments: 10467.txt
>
>
> HTableDescriptor#isDeferredLogFlush() should be restored in 0.98 and marked 
> Deprecated.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to