Skip to content
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

Add set statement to force fdb_push_redirect #4440

Merged
merged 1 commit into from
May 23, 2024

Conversation

chands10
Copy link
Contributor

@chands10 chands10 commented May 20, 2024

Add option set force_fdb_push with options redirect, remote, off to force one of these to be used, even if tunable is off

Note that if fdb push redirect + remote tunables are on, but set force_fdb_push off is run, the tunable still takes precedence and runs with the option on

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: Error ⚠.
Regression testing: 7/534 tests failed ⚠.

The first 10 failing tests are:
sc_resume_logicalsc_generated
phys_rep_tiered_nosource_generated
phys_rep_tiered
truncatesc_offline_generated
comdb2sys_queueodh_generated
comdb2sys_pagesize_generated
comdb2sys

@chands10 chands10 force-pushed the set_redirect branch 2 times, most recently from 84ffc34 to 26a14a6 Compare May 22, 2024 15:28
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: Error ⚠.
Regression testing: 14/534 tests failed ⚠.

The first 10 failing tests are:
lostwrite [setup failure]
cldeadlock
sirandtest
sc_resume_logicalsc_generated
schemalk_extralock_generated
schemalk
sc_transactional_rowlocks_generated
phys_rep_tiered
phys_rep_tiered_nosource_generated
truncatesc

@chands10 chands10 force-pushed the set_redirect branch 2 times, most recently from 9d38ef5 to 35f246c Compare May 22, 2024 17:46
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: Success ✓.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 8/534 tests failed ⚠.

The first 10 failing tests are:
sc_timepart
schemalk_extralock_generated
phys_rep_tiered_nosource_generated
phys_rep_tiered
truncatesc_offline_generated
comdb2sys
comdb2sys_queueodh_generated
comdb2sys_pagesize_generated

aakash10292
aakash10292 previously approved these changes May 22, 2024
db/dohast.c Outdated
@@ -955,7 +955,9 @@ int comdb2_check_push_remote(Parse *pParse)
ast_t *ast = pParse->ast;
dohsql_node_t *node;

if (!gbl_fdb_push_remote)
struct sql_thread *thd = pthread_getspecific(query_info_key);
Copy link
Contributor

Choose a reason for hiding this comment

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

use the GET_CLNT macro ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

…orce one of these to be used, even if tunable is off

Note that if fdb push redirect + remote tunables are on, but set force_fdb_push off is run, the tunable still takes precedence and runs with the option on

Signed-off-by: Salil Chandra <[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: Success ✓.
Smoke testing: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 11/534 tests failed ⚠.

The first 10 failing tests are:
sc_resume_logicalsc_generated
sc_timepart
schemalk_extralock_generated
phys_rep_tiered_nosource_generated
phys_rep_tiered
union_parallel
truncatesc_offline_generated
truncatesc
comdb2sys_queueodh_generated
comdb2sys_pagesize_generated

@chands10 chands10 merged commit 117ff54 into bloomberg:main May 23, 2024
1 check passed
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.

None yet

3 participants