rnewson commented on code in PR #5603:
URL: https://github.com/apache/couchdb/pull/5603#discussion_r2315392493


##########
src/couch/src/couch_db_updater.erl:
##########
@@ -876,11 +882,23 @@ apply_purge_reqs([Req | RestReqs], IdFDIs, USeq, Replies) 
->
     NewReplies = [{ok, RemovedRevs} | Replies],
     apply_purge_reqs(RestReqs, NewIdFDIs, NewUSeq, NewReplies).
 
+update_time_seq(#db{time_seq = TSeq} = Db, PrevCommittedSeq) ->
+    TSeq1 = couch_time_seq:update(TSeq, PrevCommittedSeq),
+    % Do not expect this structure to update very often, so only
+    % update the engine if its value changed
+    case TSeq =:= TSeq1 of

Review Comment:
   🤦 you are right. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to