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

{172983130}: Tweaking oldfile list #4421

Merged
merged 1 commit into from
May 21, 2024

Conversation

riverszhang89
Copy link
Contributor

A few tweaks to the oldfile list logic to make it collect faster.

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: Success ✓.
Regression testing: 7/532 tests failed ⚠.

The first 10 failing tests are:
schemalk_extralock_generated
schemalk
truncatesc_offline_generated
comdb2sys
comdb2sys_queueodh_generated
comdb2sys_pagesize_generated

assert(klen <= *rlen);
assert(memcmp(key, *resume, klen) == 0);

if (*resume == NULL) {
Copy link
Contributor

@chands10 chands10 May 16, 2024

Choose a reason for hiding this comment

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

if *resume is NULL would this be valid for memcmp in the line above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right! I modified the assert and removed the other assert which is no longer applicable. Thank you!

@riverszhang89 riverszhang89 force-pushed the oldlist branch 4 times, most recently from 657e132 to 564b32a Compare May 21, 2024 19:02
A few tweaks to the oldfile list logic to make it collect faster.

Signed-off-by: Rivers Zhang <hzhang320@bloomberg.net>
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: Error ⚠.
Regression testing: 10/534 tests failed ⚠.

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

@riverszhang89
Copy link
Contributor Author

@chands10 Thanks for the review!

@riverszhang89 riverszhang89 merged commit b8fc431 into bloomberg:main May 21, 2024
1 check passed
@riverszhang89 riverszhang89 deleted the oldlist branch May 21, 2024 22:49
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