nickva commented on a change in pull request #806: FEEDBACK ONLY: Compactor 
optimize emsort
URL: https://github.com/apache/couchdb/pull/806#discussion_r139157357
 
 

 ##########
 File path: src/couch/src/couch_db_updater.erl
 ##########
 @@ -1179,12 +1226,13 @@ copy_compact(Db, NewDb0, Retry) ->
 
     TaskProps0 = [
         {type, database_compaction},
+        {retry, (Retry /= nil)},
         {database, Db#db.name},
         {progress, 0},
         {changes_done, 0},
         {total_changes, TotalChanges}
     ],
-    case (Retry =/= nil) and couch_task_status:is_task_added() of
+    case (Retry /= nil) and couch_task_status:is_task_added() of
 
 Review comment:
   Does `=/=` vs `/=` matter here? Or it just a matter of making it consistent 
with other `/= nil` checks?
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to