-
Notifications
You must be signed in to change notification settings - Fork 229
Add bulk import tests #5268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add bulk import tests #5268
Conversation
morgando
commented
Jul 9, 2025
- Test dropping src table while we're copying files to dst db
- Test running election on src db while we're copying files to dst db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 7/615 tests failed ⚠.
The first 10 failing tests are:
bulkimport
reco-ddlk-sql
unionpar_maxqueue
phys_rep_tiered_nosource_generated
sc_lotsoftables_logicalsc_generated
sc_lotsoftables
insert_lots_large_tran_generated
e280542 to
23f70d7
Compare
| ) | ||
| } | ||
|
|
||
| function test_src_db_table_dropped_during_import() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- table is dropped before src db sends any files -> dst db will not see src table and import will fail. This is tested in
test_source_table_does_not_exist - table is dropped after src db sends all files -> not worth testing: from the perspective of the dst db this is equivalent to the drop not happening
- table is dropped while src db sends files -> tested in
test_src_db_table_dropped_during_import.comdb2_filessends transaction log files after sending all btree files. So if the drop happens after btree files have been sent, then the import will error if the txn log reflecting the drop has been flushed to disk by the time it is sent to the src db and succeed if it hasn't (because the dst db brings up a copy of the src db with the files that it gets and runs recovery on it). Either of these outcomes is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 10/615 tests failed ⚠.
The first 10 failing tests are:
disttxn [setup failure]
cldeadlock
unionpar_maxqueue
reco-ddlk-sql
analyze
sc_lotsoftables_logicalsc_generated
sc_lotsoftables
insert_lots_ssl_generated
insert_lots_large_tran_generated
Signed-off-by: mdouglas47 <[email protected]>
23f70d7 to
a8df219
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 10/616 tests failed ⚠.
The first 10 failing tests are:
socksql_master_swings
unionpar_maxqueue
phys_rep_tiered
bulkimport
sc_lotsoftables_logicalsc_generated
sc_lotsoftables
insert_lots_ssl_generated
insert_lots_large_tran_generated
selectv_rcode
cldeadlock
a8df219 to
7e6492a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 11/616 tests failed ⚠.
The first 10 failing tests are:
incremental_backup_usenames
ixentry_order
bulkimport
unionpar_maxqueue
phys_rep_tiered_firstfile_generated
sc_lotsoftables
reco-ddlk-sql
insert_lots_ssl_generated
insert_lots_large_tran_generated
insert_lots
Signed-off-by: mdouglas47 <[email protected]>
7e6492a to
a668566
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 8/616 tests failed ⚠.
The first 10 failing tests are:
sc_truncate_multiddl_generated
disttxn
bulkimport
unionpar_maxqueue
phys_rep_tiered
sc_lotsoftables
insert_lots_large_tran_generated
guid
Signed-off-by: mdouglas47 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 0/0 tests failed ⚠.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding style check: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 15/617 tests failed ⚠.
The first 10 failing tests are:
blkseq_nocnonce_generated [setup failure]
comdb2sys_queueodh_generated [setup failure]
selectv [setup failure]
csvcopy [setup failure]
longreq_stats [setup failure]
curmoves_sockbplog_generated [setup failure]
sc_lotsoftables_logicalsc_generated
sc_lotsoftables
sc_transactional_rowlocks_generated
bulkimport