Skip to content

fdb: honor LOCAL_ prefix when creating a new fdb#6078

Open
dorinhogea wants to merge 1 commit into
bloomberg:mainfrom
dorinhogea:fdb-local-honor
Open

fdb: honor LOCAL_ prefix when creating a new fdb#6078
dorinhogea wants to merge 1 commit into
bloomberg:mainfrom
dorinhogea:fdb-local-honor

Conversation

@dorinhogea

Copy link
Copy Markdown
Contributor

Set fdb->local from a LOCAL_ prefix at creation time so old code using LOCAL_ works even when foreign_db_resolve_local is not set. Existing fdbs still ignore the prefix and spew the deprecation warning.

Change in semantics: if first request to reach a remote fdb uses LOCAL_, all further access will go to local fdb and ignore missing prefixes.

Set fdb->local from a LOCAL_ prefix at creation time so old code using
LOCAL_ works even when foreign_db_resolve_local is not set. Existing fdbs
still ignore the prefix and spew the deprecation warning.

Signed-off-by: Dorin Hogea <dhogea@bloomberg.net>

@roborivers roborivers left a comment

Copy link
Copy Markdown

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 [db unavailable at finish] **quarantined**
sc_resume_logicalsc_generated **quarantined**
ssl_san
sc_parallel_logicalsc_generated
consumer_non_atomic_default_consumer_generated **quarantined**
ssl_set_cmd
ssl_dbname
ssl_prefer
sc_downgrade [timeout] **quarantined**

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