Skip to content

Feature/gtid gap log#419

Open
qiongtubao wants to merge 8 commits into
mainfrom
feature/gtid_gap_log
Open

Feature/gtid gap log#419
qiongtubao wants to merge 8 commits into
mainfrom
feature/gtid_gap_log

Conversation

@qiongtubao

Copy link
Copy Markdown

No description provided.

@qiongtubao qiongtubao force-pushed the feature/gtid_gap_log branch 21 times, most recently from a0b8945 to 1e0c37b Compare June 5, 2026 06:19
@qiongtubao qiongtubao force-pushed the feature/gtid_gap_log branch 9 times, most recently from 0ed4344 to 709d831 Compare June 10, 2026 07:35
@qiongtubao qiongtubao force-pushed the feature/gtid_gap_log branch from 709d831 to b6895df Compare June 10, 2026 09:08
@qiongtubao qiongtubao force-pushed the feature/gtid_gap_log branch 7 times, most recently from d999a0e to 941d566 Compare June 11, 2026 04:19
…xt) and refactor saveGapLogFromGtidSet

- readBacklogIterator stack-allocated with embedded mock client
- querybuf reuse across gno iterations (no backlog re-read)
- parseGtidCommand/parseMultiCommand take (argv, argc) and readBacklogIterator* respectively
- saveGapLogFromGtidSet uses the iterator
- parseCmdFromBacklog, cleanMockClient, resetMockClient removed
- fix pre-existing typo: redisComamnd -> redisCommand in gtidOnKey
@qiongtubao qiongtubao force-pushed the feature/gtid_gap_log branch from 941d566 to b5f82ef Compare June 11, 2026 04:45
randstring alpha range 48-122 includes '['(91) and ']'(93) which TCL
interprets as command substitution, causing flaky failures when random
client name happens to contain these chars.
@qiongtubao qiongtubao force-pushed the feature/gtid_gap_log branch from 13d4d19 to 1b6ee7d Compare June 11, 2026 18:20
gd.zhou added 3 commits June 14, 2026 15:23
src/networking.c:
  In freeClient() defer-free path, use RS_UPDATE_DOWN instead of
  RS_UPDATE_NOP — when master mode is enabled via defer-free, the
  server state must reflect a real down transition, not a no-op.

src/replication.c:
  Move disconnectSlaves() before shiftReplicationId() in
  replicationUnsetMaster(). Slaves must be disconnected before the
  replication ID changes so they can attempt partial resync with the
  new ID.

deps/xredis-gtid:
  Update submodule pointer.
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.

1 participant