You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/03/27 04:18:14 UTC
[jira] [Commented] (HBASE-10845) Memstore snapshot size isn't
updated in DefaultMemStore#rollback()
[ https://issues.apache.org/jira/browse/HBASE-10845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948827#comment-13948827 ]
stack commented on HBASE-10845:
-------------------------------
How was the code before we moved to the MemStore Interface? Is this an oversight that was always there or just an oversight refactoring to fit the Interface?
> Memstore snapshot size isn't updated in DefaultMemStore#rollback()
> ------------------------------------------------------------------
>
> Key: HBASE-10845
> URL: https://issues.apache.org/jira/browse/HBASE-10845
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 10845-v1.txt
>
>
> In DefaultMemStore#rollback() :
> {code}
> if (found != null && found.getMvccVersion() == kv.getMvccVersion()) {
> this.snapshot.remove(kv);
> }
> {code}
> this.snapshotSize should be updated in case of rollback.
--
This message was sent by Atlassian JIRA
(v6.2#6252)