milleruntime commented on a change in pull request #793: Cleanup 
TabletServerLogger
URL: https://github.com/apache/accumulo/pull/793#discussion_r241216028
 
 

 ##########
 File path: 
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
 ##########
 @@ -1051,8 +1053,12 @@ private void flush(UpdateSession us) {
                 }
                 us.failures.put(tablet.getExtent(), 
us.successfulCommits.get(tablet));
               } else {
-                sendables.put(commitSession, new Mutations(
-                    DurabilityImpl.resolveDurabilty(us.durability, 
tabletDurability), mutations));
+                Mutations muts = new Mutations(durability, mutations);
+                if (durability != Durability.NONE) {
+                  loggables.put(commitSession, new 
TabletMutations(commitSession.getLogId(),
 
 Review comment:
   I am going to do this in another PR because I keep finding more haha.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to