Skip to content

Conversation

@roman-khimov
Copy link
Member

The following errors were detected during performance testing:

warn	writecache/flush.go:50	flush scheduler paused due to error	{"shard_id": "DVLS7az3U6AY5qZ8GHwsaP", "substorage": "write-cache", "delay": 10}
error	writecache/flush.go:167	can't flush objects	{"shard_id": "DVLS7az3U6AY5qZ8GHwsaP", "substorage": "write-cache", "worker": 6, "first_object": "8dsJKm3xFpiDS8etCjaYaEBxPdgmYZJJtfjvuWFMHmzv/E5k23T1EZuyzjY67p3PvzbJmGfL6XxkHjxBiE536244R", "error": "logical error: status: code = 2049 message = object not found"}

This could potentially happen because of double-deletion of addrs from flushObjs, flushScheduler() can fetch the same addrs twice because of that. An easy fix is to nullify addrs in post-flush case, but we better simplify lusher thread logic and avoid duplication at all.

The following errors were detected during performance testing:

    warn	writecache/flush.go:50	flush scheduler paused due to error	{"shard_id": "DVLS7az3U6AY5qZ8GHwsaP", "substorage": "write-cache", "delay": 10}
    error	writecache/flush.go:167	can't flush objects	{"shard_id": "DVLS7az3U6AY5qZ8GHwsaP", "substorage": "write-cache", "worker": 6, "first_object": "8dsJKm3xFpiDS8etCjaYaEBxPdgmYZJJtfjvuWFMHmzv/E5k23T1EZuyzjY67p3PvzbJmGfL6XxkHjxBiE536244R", "error": "logical error: status: code = 2049 message = object not found"}

This could potentially happen because of double-deletion of addrs from
flushObjs, flushScheduler() can fetch the same addrs twice because of that.
An easy fix is to nullify addrs in post-flush case, but we better simplify
lusher thread logic and avoid duplication at all.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.35%. Comparing base (a2812e8) to head (8c86b6f).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3682   +/-   ##
=======================================
  Coverage   27.35%   27.35%           
=======================================
  Files         658      658           
  Lines       41705    41700    -5     
=======================================
+ Hits        11408    11409    +1     
+ Misses      29236    29231    -5     
+ Partials     1061     1060    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roman-khimov roman-khimov merged commit 75596fc into master Nov 19, 2025
17 of 22 checks passed
@roman-khimov roman-khimov deleted the wc-flush-error branch November 19, 2025 16:07
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