[
https://issues.apache.org/jira/browse/HBASE-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Gray updated HBASE-1503:
---------------------------------
Attachment: HBASE-1503-v2.patch
Removes the read/write lock in favor of only object-level synchronization.
> hbase-1304 dropped updating list of store files on flush
> --------------------------------------------------------
>
> Key: HBASE-1503
> URL: https://issues.apache.org/jira/browse/HBASE-1503
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: Jonathan Gray
> Fix For: 0.20.0
>
> Attachments: HBASE-1503-v1.patch, HBASE-1503-v2.patch
>
>
> Here is how current updateReaders is implemented in StoreScanner:
> {code}
> // Implementation of ChangedReadersObserver
> public void updateReaders() throws IOException {
> if (this.closing.get()) {
> return;
> }
> this.lock.writeLock().lock();
> try {
> // Could do this pretty nicely with KeyValueHeap, but the existing
> // implementation of this method only updated if no existing storefiles?
> // Lets discuss.
> return;
> } finally {
> this.lock.writeLock().unlock();
> }
> }
> {code}
> Fill in missing functionality.
> Count of store files changes on flush and compaction.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.