Repository navigation
truncatesc: add new style time partitions - #6320
markhannum wants to merge 6 commits into
Conversation
89c50bc to
56c2334
Compare
6867b97 to
7414964
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.
The first 10 failing tests are:
comdb2sys_queueodh_generated
consumer_non_atomic_default_consumer_generated **quarantined**
truncatesc_offline_generated [timeout] **quarantined**
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Error ⚠.
Regression testing: 2/731 tests failed ⚠.
The first 10 failing tests are:
recover_deadlock
consumer_non_atomic_default_consumer_generated **quarantined**
truncatesc_offline_generated [timeout] **quarantined**
afd4992 to
0affbe9
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: 2/731 tests failed ⚠.
The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated **quarantined**
manual_partition
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated **quarantined**
sc_redo_logicalsc_generated [timeout]
reco-ddlk-sql [timeout] **quarantined**
sql_logfill_autodisable [timeout]
c54688d to
e0ee7be
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
guid
consumer_non_atomic_default_consumer_generated **quarantined**
reco-ddlk-sql [timeout] **quarantined**
b8e7636 to
9210158
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
comdb2sys_queueodh_generated [db unavailable at finish]
consumer_non_atomic_default_consumer_generated **quarantined**
86aba59 to
f189de8
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
comdb2sys [db unavailable at finish] **quarantined**
consumer_non_atomic_default_consumer_generated **quarantined**
reco-ddlk-sql [timeout] **quarantined**
sql_logfill_autodisable [timeout]
f189de8 to
e58e001
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated **quarantined**
reco-ddlk-sql [timeout] **quarantined**
e58e001 to
313131a
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated **quarantined**
sql_logfill_autodisable [timeout]
313131a to
ffe5e3f
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
comdb2sys_queueodh_generated [db unavailable at finish]
consumer_non_atomic_default_consumer_generated **quarantined**
ffe5e3f to
2df598b
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.
The first 10 failing tests are:
constraints_partial_index_off_generated [failed with core dumped]
constraints_noreorder_generated [failed with core dumped]
sqlqueries
reco-ddlk-sql [timeout] **quarantined**
skipscan [timeout] **quarantined**
2df598b to
066078e
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
reco-ddlk-sql [timeout] **quarantined**
066078e to
15e132e
Compare
0389856 to
746b941
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Success ✓.
Regression testing: Success ✓.
The first 10 failing tests are:
reco-ddlk-sql [timeout] **quarantined**
Collapsing the partition expects it at shard 0. Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Later alters of the partition failed with "stale version". Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Reuse the timepart scheduler on reload instead of leaking a new one. Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
A schema reload freed the table it was reading. The read drops the scheduler lock so it can't deadlock with schema-locked paths, and keeps the old clock on error. Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
746b941 to
4bb347d
Compare
roborivers
left a comment
There was a problem hiding this comment.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.
The first 10 failing tests are:
reco-ddlk-sql [timeout] **quarantined**
truncatesc now covers new-style time partitions (the old cases used the legacy
create time partitionsyntax and were disabled). It partitions a table, rolls it out, alters it, changes its retention, adds a time partition, collapses and drops, then truncates the log back through each step, checking data and partition metadata on the master and a physical replicant, and the master's rollout events.Fixes for what it found:
partitioned by nonefailed with "Table t1 already exists" and the master asserted. The original table now stays at shard 0.bdb_cursor_open). It now reads under the schema lock with fresh rootpages, and drops the scheduler lock while reading so it can't deadlock with schema-locked paths.truncatesc is removed from the quarantine list (
truncatesc_offline_generatedstays quarantined).Tested on a 3-node cluster: truncatesc plus the timepart, manual partition and logical cron tests.