Skip to content

fix(redis): quote key names in DEL/RENAME, apply grid edits atomically, iterate full SCAN cursor - #2308

Merged
openai0229 merged 3 commits into
OtterMind:mainfrom
HandSonic:fix/review-redis
Jul 30, 2026
Merged

openai0229 merged 3 commits into
OtterMind:mainfrom
HandSonic:fix/review-redis

Conversation

@HandSonic

Copy link
Copy Markdown
Contributor

Fixes verified review findings tracked in #2281: (1) dropTable built DEL with a raw unquoted key name (wrong-key deletion on names with spaces); (2) buildByQueryResult iterated edits in an empty loop, silently dropping all grid edits — now emits per-type mutation commands inside MULTI/EXEC; list deletes are positional (tombstone LSET+LREM) so duplicate values cannot remove the wrong occurrence; (3) RENAME/EXPIRE built with raw names and EXPIRE emitted for sentinel TTLs; (4) deleting every field/member left an empty key instead of DEL; (5) SCAN listing truncated after the first batch — now loops the cursor with dedupe; (6) list rewrite (DEL+RPUSH) wrapped in MULTI/EXEC for atomicity. Regression tests added. Verified on fork HandSonic#8 (CI green).

@openai0229
openai0229 merged commit f6d44c1 into OtterMind:main Jul 30, 2026
16 checks passed
@openai0229 openai0229 moved this from In Review to Done in Chat2DB Community Jul 30, 2026
@HandSonic
HandSonic deleted the fix/review-redis branch August 23, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants