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-1755: Modified TSBW so that all cl...
Date Wed, 02 Mar 2016 15:43:57 GMT
Github user keith-turner commented on the pull request:
    To make findbugs happy could CAS in a loop to compute the min and max, something like
       private static void computeMin(AtomicInt stat, int update) {
           int old = stat.get();
           while(!stat.compareAndSet(old, Math.min(old, update))){
               old = stat.get();

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