accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlmarion <...@git.apache.org>
Subject [GitHub] accumulo pull request: ACCUMULO-1755: Modified TSBW so that all cl...
Date Mon, 29 Feb 2016 14:39:08 GMT
Github user dlmarion commented on the pull request:

    https://github.com/apache/accumulo/pull/75#issuecomment-190235910
  
    Updated based on Keiths concerns, changed implementation such that:
    
    1. MutationWriter uses a ThreadPoolExecutor with 1 thread instead of a Timer. We might
be able to change this later, not sure.
    2. The ThreadPoolExecutor uses a LinkedTransferQueue as its work queue
    3. MutationWriter.queueMutations attempts to put the MutationSet onto the work queue with
no timeout. If there is a consumer available, then the MutationSet will get put onto the work
queue and processed by a background thread. If no consumer is available (e.g. it's currently
busy), then the MutationSet will be binned in the current thread.
    
    I also changed some variables to Atomic objects and removed the synchronization modifier
from TSBW.updateBatchStats()


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message