Skip to content

fix: stop noisy logging about phantom shards that do not belong to node#26527

Merged
gwossum merged 1 commit intomaster-1.xfrom
gw/26525/noisy_phantom_shard_logging
Jun 17, 2025
Merged

fix: stop noisy logging about phantom shards that do not belong to node#26527
gwossum merged 1 commit intomaster-1.xfrom
gw/26525/noisy_phantom_shard_logging

Conversation

@gwossum
Copy link
Copy Markdown
Member

@gwossum gwossum commented Jun 16, 2025

Stop noisy logging about phantom shards that do not belong to the current node by checking the shard ownership before logging about the phantom shard. Note that only the logging was inaccurate. This did not accidentally remove shards from the metadata that weren't really phantom shards due to checks in DropShardMetaRef implementations.

closes: #26525

Stop noisy logging about phantom shards that do not belong to the
current node by checking the shard ownership before logging about the
phantom shard. Note that only the logging was inaccurate. This did not
accidentally remove shards from the metadata that weren't really phantom
shards due to checks in `DropShardMetaRef` implementations.

closes: #26525
@gwossum gwossum self-assigned this Jun 16, 2025
@gwossum gwossum marked this pull request as ready for review June 16, 2025 23:01
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

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

LGTM.

Should you make a 1.12 cherry-pick place-holder issue? 2.x?

@gwossum
Copy link
Copy Markdown
Member Author

gwossum commented Jun 17, 2025

Yes, this should be cherry-picked to 1.12, and probably 1.11. It wouldn't hurt to cherry pick it to 2.x, but because 2.x is single node it doesn't suffer from the same issue. The issue only shows up in multi-node systems.

@gwossum gwossum merged commit 8ef2aca into master-1.x Jun 17, 2025
9 checks passed
@gwossum gwossum deleted the gw/26525/noisy_phantom_shard_logging branch June 17, 2025 21:09
devanbenz pushed a commit that referenced this pull request Sep 24, 2025
…de (#26527)

Stop noisy logging about phantom shards that do not belong to the
current node by checking the shard ownership before logging about the
phantom shard. Note that only the logging was inaccurate. This did not
accidentally remove shards from the metadata that weren't really phantom
shards due to checks in `DropShardMetaRef` implementations.

closes: #26525
(cherry picked from commit 8ef2aca)
devanbenz added a commit that referenced this pull request Sep 25, 2025
…de (#26527) (#26832)

Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
closes: #26525
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.

2 participants