You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2025/07/04 14:26:27 UTC
(couchdb) 15/25: _reshard/jobs forces index updates
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch auto-delete-3-plus-shard-move
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c07e9df6fb5a02e61799bf79154cc3751aa2a8b0
Author: Robert Newson <rn...@apache.org>
AuthorDate: Fri Jun 20 16:01:15 2025 +0100
_reshard/jobs forces index updates
---
test/elixir/test/drop_seq_statem_test.exs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/test/elixir/test/drop_seq_statem_test.exs b/test/elixir/test/drop_seq_statem_test.exs
index 3438b3e91..b6aceeed4 100644
--- a/test/elixir/test/drop_seq_statem_test.exs
+++ b/test/elixir/test/drop_seq_statem_test.exs
@@ -535,8 +535,12 @@ defmodule DropSeqStateM do
%State{s | check_actual_state: false}
end
- # _reshard/jobs forcibly updates all indexes
+ def next_state(s = %State{index_seq: nil}, _v, {:call, _, :split_shard, [_db_name]}) do
+ %State{s | check_actual_state: true}
+ end
+
def next_state(s, _v, {:call, _, :split_shard, [_db_name]}) do
+ # _reshard/jobs forcibly updates all indexes
%State{s | index_seq: s.current_seq, check_actual_state: true}
end