Skip to content

Add error trace#5335

Merged
morgando merged 1 commit intobloomberg:mainfrom
morgando:errors
Dec 17, 2025
Merged

Add error trace#5335
morgando merged 1 commit intobloomberg:mainfrom
morgando:errors

Conversation

@morgando
Copy link
Copy Markdown
Contributor

It took me a while to figure out where open_dbs failed because there was no trace. The changes in this PR add error logging for two of its error conditions.

Hide whitespace changes while looking at diff.

Signed-off-by: mdouglas47 <mdouglas47@bloomberg.net>
Comment thread bdb/file.c
logmsg(LOGMSG_FATAL, "deadlock in open\n");
exit(1);
}
print(bdb_state, "open_dbs: cannot open %s: %d %s\n",
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.

I don't know what print(bdb_state... is used for. If it is still useful then I can add it back.

Comment thread bdb/file.c
if (llpagesize)
pagesize = llpagesize;
}
if (!rc && !tmp_bdberr && llpagesize) { pagesize = llpagesize; }
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.

No logical change here just removing nesting.

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: Error. ⚠.
Smoke testing: Success ✓.
Cbuild submission: Error ⚠.
Regression testing: 2/625 tests failed ⚠.

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

@morgando morgando merged commit b6c5519 into bloomberg:main Dec 17, 2025
1 check passed
@morgando morgando deleted the errors branch December 17, 2025 18:47
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