fix(core): fix potential table suspended when replace commit is used on a table with a column top#6026
Conversation
…on a table with a column top
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes include renaming a static method in the Changes
Sequence Diagram(s)sequenceDiagram
participant Test as WalWriterReplaceRangeTest
participant Table as WAL Table
participant Writer as WalWriter
participant Reader as TableReader
Test->>Table: Create WAL table (partitioned by day)
Test->>Writer: Insert 500 rows (fill partition)
Test->>Table: Add new columns (int, string)
Test->>Writer: Start replace range (cover full partition)
Writer->>Writer: Insert single row with all columns
Writer->>Writer: Commit replace range
Test->>Reader: Read and verify replaced and subsequent rows
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes ✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
@coderabbitai please review |
|
@bluestreak01: I'll review the changes in this PR that fixes the potential table suspension issue when replace commit is used on a table with a column top. ✅ Actions performedReview triggered.
|
[PR Coverage check]😍 pass : 4 / 6 (66.67%) file detail
|
Found by a fuzz test, a replace commit fails on a column with a column top.