mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-01 09:48:20 +00:00
fix(logging): bound ECStore debug output (#6809)
Also replace deprecated Atomic::fetch_update calls with try_update so the current Rust toolchain keeps lint and CI jobs warning-clean. Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
@@ -231,7 +231,7 @@ impl QueryExecutionTrackerInner {
|
||||
|
||||
fn mark_timed_out(&self) -> Option<u8> {
|
||||
self.state
|
||||
.fetch_update(Ordering::AcqRel, Ordering::Acquire, |state| {
|
||||
.try_update(Ordering::AcqRel, Ordering::Acquire, |state| {
|
||||
(state < EXECUTION_FINISHED).then_some(EXECUTION_TIMED_OUT)
|
||||
})
|
||||
.ok()
|
||||
|
||||
Reference in New Issue
Block a user