Skip to content

Conversation

@morgando
Copy link
Contributor

@morgando 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

Copy link

@roborivers roborivers left a 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

@morgando morgando force-pushed the bulk_import_tests branch 7 times, most recently from e280542 to 23f70d7 Compare July 14, 2025 20:51
)
}

function test_src_db_table_dropped_during_import() {
Copy link
Contributor Author

@morgando morgando Jul 14, 2025

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_files sends 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.

@morgando morgando marked this pull request as ready for review July 14, 2025 21:12
Copy link

@roborivers roborivers left a 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]>
@morgando morgando force-pushed the bulk_import_tests branch from 23f70d7 to a8df219 Compare July 15, 2025 14:55
Copy link

@roborivers roborivers left a 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

@morgando morgando force-pushed the bulk_import_tests branch from a8df219 to 7e6492a Compare July 16, 2025 18:43
Copy link

@roborivers roborivers left a 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]>
@morgando morgando force-pushed the bulk_import_tests branch from 7e6492a to a668566 Compare July 17, 2025 20:30
Copy link

@roborivers roborivers left a 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]>
Copy link

@roborivers roborivers left a 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 ⚠.

Copy link

@roborivers roborivers left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants