Skip to content

Altmeta status is 'Active' while running#5724

Merged
markhannum merged 3 commits intobloomberg:mainfrom
markhannum:altmeta_status
Mar 3, 2026
Merged

Altmeta status is 'Active' while running#5724
markhannum merged 3 commits intobloomberg:mainfrom
markhannum:altmeta_status

Conversation

@markhannum
Copy link
Copy Markdown
Contributor

Intermediary physrep sources should mark themselves as 'Active' in the altmeta database when starting.

Copy link
Copy Markdown

@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: Success ✓.
Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
yast_stat4scan_generated
sp_twofiles_generated
sp_snapshot_generated
sp_queueodh_generated
sp
ixmap
analyze_recover_deadlock
autoanalyze
analyze_partial_index_off_generated
analyze

Copy link
Copy Markdown

@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: Success ✓.
Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
updater_latency
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

Copy link
Copy Markdown

@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: Success ✓.
Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel
consumer_non_atomic_default_consumer_generated
pmux_sqlite_file_generated
truncatesc_offline_generated
reco-ddlk-sql

@markhannum markhannum force-pushed the altmeta_status branch 4 times, most recently from 5e7906f to ce2c139 Compare February 14, 2026 20:50
Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_timepart [core dumped]
silogdel [core dumped]
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
phys_rep_tiered_firstfile_generated
reco-ddlk-sql

@markhannum markhannum force-pushed the altmeta_status branch 5 times, most recently from 0e41573 to 640b7c6 Compare February 18, 2026 14:10
Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel [core dumped]
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

@markhannum markhannum force-pushed the altmeta_status branch 2 times, most recently from a8f00bd to c66b17c Compare February 18, 2026 20:51
Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel [core dumped]
osql_cleanup [core dumped]
sc_resume_logicalsc_generated
consumer_non_atomic_default_consumer_generated
unifiedcancel
sc_transactional_rowlocks_generated
reco-ddlk-sql

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel [core dumped]
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

Copy link
Copy Markdown

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

Cbuild submission: Error ⚠.
Regression testing: 0/0 tests failed ⚠.

Copy link
Copy Markdown

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

Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_truncate_multiddl_generated
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_truncate_multiddl_generated
sp_snapshot_generated
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
reco-ddlk-sql

@markhannum markhannum force-pushed the altmeta_status branch 2 times, most recently from 2ae65bb to 63ab794 Compare February 20, 2026 14:36
Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel [core dumped]
leakcheck [core dumped]
consumer_non_atomic_default_consumer_generated
truncatesc_offline_generated
sc_truncate_lockorder_generated
reco-ddlk-sql

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel [core dumped]
queuedb_rollover_noroll1_generated
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
sc_downgrade
reco-ddlk-sql

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_truncate
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_timepart
sc_swapfields
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel [core dumped]
sc_resume
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

@markhannum markhannum force-pushed the altmeta_status branch 2 times, most recently from eb8769c to 3cffe3d Compare February 25, 2026 19:06
Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_timepart [core dumped]
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
remsql_locks_rte_connect_generated
remsql_locks

Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_resume_logicalsc_generated
consumer_non_atomic_default_consumer_generated
remsql_locks_rte_connect_generated
remsql_locks

markhannum and others added 3 commits March 2, 2026 10:18
Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
Copy link
Copy Markdown

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

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_resume_logicalsc_generated
reco-ddlk-sql
consumer_non_atomic_default_consumer_generated
remsql_locks_rte_connect_generated
remsql_locks

Comment thread db/phys_rep.c
Comment on lines +2060 to +2070
// Sources are 'Active' or 'InActive'
if (gbl_physrep_source_dbname == NULL) {
send_reset_nodes("Active", 0);
// Physreps are 'InActive' until they begin replicating
} else {
send_reset_nodes("InActive", 0);
}

// Treat altmeta like a source: physreps which list it as primary meta
// should only see 'Active' or 'InActive'
send_reset_nodes_altmeta("Active");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For posterity: physrep's status changes to "Active" when it calls the update_registry procedure on the metadb, so that case need not be handled here.

@markhannum markhannum merged commit 644f2f4 into bloomberg:main Mar 3, 2026
4 checks passed
@markhannum markhannum deleted the altmeta_status branch March 3, 2026 18:55
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.

3 participants