Skip to content

[fix] replace server.propagate_in_transaction by server.gtid_dbid_at_multi#416

Merged
patpatbear merged 2 commits into
mainfrom
fix/propagate
May 22, 2026
Merged

[fix] replace server.propagate_in_transaction by server.gtid_dbid_at_multi#416
patpatbear merged 2 commits into
mainfrom
fix/propagate

Conversation

@warrick1016
Copy link
Copy Markdown
Collaborator

No description provided.

warrick1016 and others added 2 commits May 22, 2026 14:17
…multi

deps/xredis-gtid/xredis/xredis_gtid_rs.c
 tests/unit/moduleapi/propagate-gtid.tcl
 runtest-moduleapi

Case: module auto-wrapped RedisModule_Replicate maps to one GTID
Issue: one module auto-wrapped MULTI/EXEC could be mis-mapped into multiple GTIDs and crash in gtidSeqAppend because server.propagate_in_transaction was cleared before queued propagate() drained.
Fix: use server.gtid_dbid_at_multi for the GTID in-multi check, and add a propagate-test.simple guard test plus moduleapi runner coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@patpatbear patpatbear merged commit 28d1224 into main May 22, 2026
1 of 5 checks passed
@patpatbear patpatbear deleted the fix/propagate branch May 22, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants