Skip to content

test: add unit test for sds_check#1

Merged
janekmi merged 15 commits intomasterfrom
shutdown_state_check
May 14, 2025
Merged

test: add unit test for sds_check#1
janekmi merged 15 commits intomasterfrom
shutdown_state_check

Conversation

@osalyk
Copy link
Contributor

@osalyk osalyk commented Mar 13, 2025

Reviewable is still better for browsing. You can't publish your review at the moment though.

Ref: https://reviewable.io/reviews/daos-stack/pmdk/1


This change is Reviewable

@osalyk osalyk requested review from grom72 and janekmi March 13, 2025 10:26
@osalyk osalyk force-pushed the shutdown_state_check branch 3 times, most recently from 603867f to fe605f1 Compare March 13, 2025 10:49
janekmi

This comment was marked as resolved.

@osalyk osalyk force-pushed the shutdown_state_check branch 2 times, most recently from 8f1dacd to f8d79b1 Compare March 13, 2025 12:59
@osalyk osalyk force-pushed the shutdown_state_check branch from f8d79b1 to 86285c3 Compare March 14, 2025 08:25
@osalyk osalyk force-pushed the shutdown_state_check branch from 86285c3 to f71cac3 Compare March 24, 2025 13:42
@osalyk osalyk force-pushed the shutdown_state_check branch 4 times, most recently from 4cfd72e to f339433 Compare April 8, 2025 11:15
@osalyk osalyk force-pushed the shutdown_state_check branch 2 times, most recently from 0279a3a to 50deb67 Compare April 22, 2025 10:06
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
@osalyk osalyk force-pushed the shutdown_state_check branch from 50deb67 to 0652d7c Compare April 25, 2025 11:20
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
@osalyk osalyk force-pushed the shutdown_state_check branch from 8767ec4 to 99818ca Compare May 8, 2025 11:53
osalyk added 2 commits May 8, 2025 07:56
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

You may also want to take a look at the core_log_max test to make sure it is up to date.
It is generated by utils/call_stack_analysis/log_call_all_generate.py.

Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
@osalyk
Copy link
Contributor Author

osalyk commented May 8, 2025

You may also want to take a look at the core_log_max test to make sure it is up to date. It is generated by utils/call_stack_analysis/log_call_all_generate.py.

everything is fine

Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

.

osalyk added 2 commits May 8, 2025 11:25
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
osalyk added 2 commits May 9, 2025 08:59
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
if (is_uuid_correct)
CORE_LOG_WARNING(
"The ADR failure was detected but the pool was closed - the ADR failure detection will be reinitialized.");
"The ADR failure was detected but the pool was closed properly - the ADR failure detection will be reinitialized.");
Copy link
Contributor

Choose a reason for hiding this comment

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

Please apply consistently. xD Instead of:

  • the ADR failure detection will be reinitialized x2
  • reinitializing the ADR failure detection

please use "reinitializing ADR failure detection". Because:

  1. All of these indicate exactly the same outcome.
  2. I believe without "the" it sounds a little bit more natural. Sorry for the last minute change.

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.

Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
/* the program was killed during opening or closing the pool */
CORE_LOG_WARNING(
"incorrect checksum - SDS will be reinitialized");
"Incorrect checksum - reinitializing ADR failure detection.");
Copy link
Contributor

Choose a reason for hiding this comment

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

The pool was not opened/closed properly - reinitializing ADR failure detection.

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

@janekmi janekmi merged commit d50e53e into master May 14, 2025
7 of 8 checks passed
Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 7 files at r3.
Reviewable status: 1 of 74 files reviewed, 84 unresolved discussions

Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 6 files at r2, 7 of 7 files at r3, all commit messages.
Reviewable status: 8 of 74 files reviewed, 84 unresolved discussions

Copy link
Contributor Author

@osalyk osalyk left a comment

Choose a reason for hiding this comment

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

Reviewable status: 8 of 74 files reviewed, 84 unresolved discussions

Copy link
Contributor Author

@osalyk osalyk left a comment

Choose a reason for hiding this comment

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

Reviewable status: 8 of 74 files reviewed, 84 unresolved discussions

@osalyk osalyk deleted the shutdown_state_check branch October 6, 2025 11:03
osalyk added a commit that referenced this pull request Oct 21, 2025
+ minor adjustments to error/warning messages

Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments