Skip to content

don't report the local pid as the remtran requester - #6201

Open
mohitkhullar wants to merge 1 commit into
bloomberg:mainfrom
mohitkhullar:fdb_remtran_unknown_pid
Open

mohitkhullar wants to merge 1 commit into
bloomberg:mainfrom
mohitkhullar:fdb_remtran_unknown_pid

Conversation

@mohitkhullar

Copy link
Copy Markdown
Contributor

No description provided.

@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:
tsa
ssl_san
consumer_non_atomic_default_consumer_generated **quarantined**
ssl_set_cmd
ssl_prefer
ssl_dbname
sc_downgrade [timeout] **quarantined**
reco-ddlk-sql [timeout] **quarantined**

@mohitkhullar
mohitkhullar force-pushed the fdb_remtran_unknown_pid branch 2 times, most recently from 9832808 to 1128b42 Compare September 10, 2026 13:54

@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:
incoherent_slow **quarantined**
sc_resume_logicalsc_generated **quarantined**
tsa
consumer_non_atomic_default_consumer_generated **quarantined**
sc_downgrade [timeout] **quarantined**

@mohitkhullar
mohitkhullar force-pushed the fdb_remtran_unknown_pid branch 3 times, most recently from 1b740b6 to a1224be Compare September 10, 2026 16:34

@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:
tsa
ssl_san
consumer_non_atomic_default_consumer_generated **quarantined**
ssl_set_cmd
ssl_prefer
ssl_dbname
sc_downgrade [timeout] **quarantined**

@mohitkhullar
mohitkhullar force-pushed the fdb_remtran_unknown_pid branch from 1641cd5 to 13e4205 Compare September 10, 2026 17:37

@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:
tsa
consumer_non_atomic_default_consumer_generated **quarantined**
remtran_origin
sc_downgrade [timeout] **quarantined**
reco-ddlk-sql [timeout] **quarantined**

@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:
tsa
consumer_non_atomic_default_consumer_generated **quarantined**
remtran_origin
sc_downgrade [timeout] **quarantined**
phys_rep_tiered_firstfile_generated [timeout]
truncatesc_offline_generated [timeout] **quarantined**

@dorinhogea dorinhogea left a comment

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.

looks good, just a few nits

Comment thread tests/remtran_origin.test/runit Outdated
Comment thread db/fdb_bend.c Outdated
tran_clnt->conninfo.pename[sizeof(tran_clnt->conninfo.pename) - 1] = '\0';
tran_clnt->conninfo.pid = srcpid;
/* pename is 8 bytes; keep the untruncated uri for access checks */
free(tran_clnt->argv0);

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.

can this race with collect_osql_session(), which accesses tran_clnt->argv0 with no mutex? (UAF)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

setting only if its NULL

Comment thread plugins/remsql/fdb_comm.c Outdated
@mohitkhullar
mohitkhullar force-pushed the fdb_remtran_unknown_pid branch 4 times, most recently from fb0203d to b2f5ae2 Compare September 17, 2026 16:29
Signed-off-by: mkhullar <mohit.khullar@gmail.com>
@mohitkhullar
mohitkhullar force-pushed the fdb_remtran_unknown_pid branch from b2f5ae2 to db45808 Compare September 17, 2026 16:29

@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: harness did not run - no test results were produced ⚠.

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