Skip to content

Improve database outage recovery and player data cleanup - #4772

Open
Minecraft0122 wants to merge 1 commit into
plan-player-analytics:masterfrom
Minecraft0122:master
Open

Improve database outage recovery and player data cleanup#4772
Minecraft0122 wants to merge 1 commit into
plan-player-analytics:masterfrom
Minecraft0122:master

Conversation

@Minecraft0122

Copy link
Copy Markdown

Summary

  • retain queued database transactions during transient/recoverable connection outages and retry them in order with bounded exponential backoff
  • add /plan db remove_registered <after-date> <before-date> for confirmed, inclusive bulk deletion by first-join date
  • add regression coverage for merging a SQLite database into a non-empty MySQL-compatible destination while preserving existing server data
  • fix transaction queue accounting when throwaway transactions are dropped

Verification

The SQLite-to-MySQL merge command already exists as /plan db merge SQLite MySQL; this PR adds the non-empty destination regression test requested for that workflow.

Closes #4727
Closes #4719

Keep queued transactions during temporary connection failures, add registration-date player removal, and verify SQLite merges into non-empty databases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant