accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith-turner <>
Subject [GitHub] accumulo pull request: ACCUMULO-4229 BatchWriter Locator cache out...
Date Thu, 28 Apr 2016 15:00:57 GMT
Github user keith-turner commented on the pull request:
    An alternative solution to introducing `SyncingTabletLocator` could be to change the implementation
of  clearLocators to the following.  This clears all of the caches while still maintaining
the references to in uses locators.
     public static synchronized void clearLocators() {
        for(TabletLocator tl : locators.values()){
    If worried about empty tablet location caches being left around in the `locators` map,
that could possible be changed to a weak hash map.

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 or file a JIRA ticket
with INFRA.

View raw message