You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Mathias Herberts (JIRA)" <ji...@apache.org> on 2009/08/18 00:41:15 UTC

[jira] Updated: (HBASE-1770) HTable.setWriteBufferSize does not flush the writeBuffer when its size is set to a value lower than its current size.

     [ https://issues.apache.org/jira/browse/HBASE-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mathias Herberts updated HBASE-1770:
------------------------------------

    Attachment: setWriteBufferSize-flushCommits.patch

Adds call to flushCommits if the new size of the write buffer is lower than the current size of the data in the buffer.

Side effect is that setWriteBufferSize now throws IOException as propagated from flushCommits.

> 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.