hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1770) HTable.setWriteBufferSize does not flush the writeBuffer when its size is set to a value lower than its current size.
Date Mon, 17 Aug 2009 22:45:14 GMT

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

Jonathan Gray commented on HBASE-1770:
--------------------------------------

Patch looks good.  Javadoc is a little bit odd because it seems like it's asking the client
to call flushCommits rather than it happening automatically.  Can fix on commit.

Should we put this into 0.20 branch and trunk?

> HTable.setWriteBufferSize does not flush the writeBuffer when its size is set to a value
lower than its current size.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1770
>                 URL: https://issues.apache.org/jira/browse/HBASE-1770
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.0
>         Environment: All
>            Reporter: Mathias Herberts
>            Priority: Trivial
>         Attachments: setWriteBufferSize-flushCommits.patch
>
>
> When setting the size of the write buffer to a value lower than the current size of data
in the write buffer, the content of the write buffer should be flushed so it does not occupy
in memory more than its new size for an extended period of time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message