Fix: Phase 2 WAL dump bugs and add cache viewer - #32
Conversation
Added max-height and overflow-y: auto to dirty entries and cache keys containers to prevent page from becoming too tall with many entries. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Warning Rate limit exceeded@akeenkarkare has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 16 minutes and 11 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Critical Fix: DynamoDB Reserved Keyword HandlingThe ProblemThe cache dump was failing at WAL sequence #3 with: This caused 92,000+ WAL entries to queue up (19.7 MB file) and only 2 entries to sync successfully. No data was persisting to DynamoDB, effectively breaking the entire application. Root CauseThe UPDATE and INCREMENT operations in f"{field} = :{field}" # ❌ Fails if field is reserved keyword like 'users'DynamoDB has 573 reserved keywords including: The FixBoth UPDATE and INCREMENT operations now use f"#{field} = :{field}" # ✅ Safe - #{field} mapped via ExpressionAttributeNamesChanges in commit 294820f:
Testing RequiredOnce deployed to production server:
This fix should unblock the WAL queue and restore data persistence to DynamoDB. |
Summary
get_stats()→get_cache_stats())Changes
get_cache_stats()method nameTest plan
🤖 Generated with Claude Code