Skip to content

Commit 4406089

Browse files
committed
common: fix "The pool was not closed" message (no ADR failure)
Ref: DAOS-18692 Ref: #1 Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
1 parent 12964ca commit 4406089

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
XXX
2+
3+
* Version X.X.X
4+
5+
- Fix "The pool was not closed" message (no ADR failure) (daos-stack/pmdk#1, DAOS-18692)
6+
17
Fri Jan 16 2026 Oksana Sałyk <oksana.salyk@hpe.com>
28

39
* Version 2.1.3

src/common/shutdown_state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ shutdown_state_check(struct shutdown_state *curr_sds,
208208
* but there wasn't an ADR failure
209209
*/
210210
CORE_LOG_WARNING(
211-
"The ADR failure was detected but the pool was closed properly - reinitializing ADR failure detection.");
211+
"The pool was not closed - reinitializing ADR failure detection.");
212212
shutdown_state_reinit(curr_sds, pool_sds, rep);
213213
return 0;
214214
}

src/test/util_sds/grep5.log.match

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<libpmem2>: <2> [shutdown_state.c:$(N) shutdown_state_check] The ADR failure was detected but the pool was closed properly - reinitializing ADR failure detection.
1+
<libpmem2>: <2> [shutdown_state.c:$(N) shutdown_state_check] The pool was not closed - reinitializing ADR failure detection.

src/test/util_sds_check/out2.log.match

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ util_sds_check$(nW)TEST2: START: util_sds_check
33
src version: $(nW)
44
compiled with support for shutdown state
55
compiled with libndctl $(nW)
6-
The ADR failure was detected but the pool was closed properly - reinitializing ADR failure detection.
6+
The pool was not closed - reinitializing ADR failure detection.
77
util_sds_check$(nW)TEST2: DONE

0 commit comments

Comments
 (0)