You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2025/04/28 15:46:59 UTC
(couchdb) branch auto-delete-3 updated: better variable name
This is an automated email from the ASF dual-hosted git repository.
rnewson pushed a commit to branch auto-delete-3
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/auto-delete-3 by this push:
new 056d938f6 better variable name
056d938f6 is described below
commit 056d938f6f01d7c1c3a7697c85d4e21ffa24ef9f
Author: Robert Newson <rn...@apache.org>
AuthorDate: Mon Apr 28 16:46:51 2025 +0100
better variable name
---
src/fabric/src/fabric_drop_seq.erl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/fabric/src/fabric_drop_seq.erl b/src/fabric/src/fabric_drop_seq.erl
index 8a229d211..3efad427e 100644
--- a/src/fabric/src/fabric_drop_seq.erl
+++ b/src/fabric/src/fabric_drop_seq.erl
@@ -112,14 +112,14 @@ crossref(PeerCheckpoints0, ShardSyncHistory) ->
PeerCheckpoints1 = maps:fold(
fun({Range, Node}, {Uuid, Seq}, Acc1) ->
Others = maps:filter(
- fun({R, _S, T}, _V) -> R == Range andalso T /= Node end, ShardSyncHistory
+ fun({R, _S, T}, _History) -> R == Range andalso T /= Node end, ShardSyncHistory
),
maps:fold(
- fun({R, _S, T}, H, Acc2) ->
+ fun({R, _S, T}, History, Acc2) ->
case
lists:search(
fun({SU, SS, _TU, _TS}) -> Uuid == SU andalso SS =< Seq end,
- H
+ History
)
of
{value, {_SU, _SS, TU, TS}} ->