Repository navigation
Conversation
…removals
DiskObjectStorageTransaction::waitBlobRemoval runs
for (size_t i = 0; i < 100 && metadata_storage->hasPendingRemovalBlobs(blobs); ++i)
blob_killer->triggerAndWait();
after the metadata transaction has already committed, i.e. it is a best-effort
wait for physical deletion. When the object storage refuses removals,
removeBlobsBatch catches the exception, counts BlobKillerThreadRemoveBlobsErrors
and returns false; nothing is recorded as removed, so hasPendingRemovalBlobs
stays true for every waiter and the loop always runs its full 100 iterations.
The 100 bounds rounds, not time, and once a round costs seconds that bounds
nothing: with azure_sdk_max_retries=10 and the backoff capped at 1s a round
costs about 4.3s, so the cap is about 430s.
That is what the Stress test (arm_tsan) hung check on the head e261595 of
PR ClickHouse#118757 recorded after the local azurite emulator started refusing
connections. c_stacktraces.log has 128 threads in waitBlobRemoval ->
BlobKillerThread::triggerAndWait, 17 asleep in the Azure SDK RetryPolicy::Send,
19 MergeTreeCleanupThread tasks holding their BackgroundSchedulePool exec_mutex
across the whole wait, and 2 DETACH DATABASE queries blocked in
IMergeTreeCleanupThread::stop -> deactivate, which takes exec_mutex before
setting deactivated and so cannot return. hung_check.log shows one of them at
elapsed: 392.230509 with is_cancelled: 1, matching the arithmetic above.
disk_transaction_wait_for_blob_removal defaults to true and waitBlobRemoval is
present on the 26.6, 26.7 and 26.8 release branches, so a released user on Azure
or S3 sees DROP and DETACH block for minutes during any storage outage.
BlobKillerThread::triggerAndWait() now returns whether any cleanup round
succeeded while the caller waited: it snapshots a monotone succeeded_rounds
before trigger() and compares after waitRound(), ANDed with the wrapped (cache)
killer's verdict. succeeded_rounds is published before finished_rounds, both
seq_cst, so a waiter that observes its round finished necessarily observes that
round's outcome; neither atomic may be relaxed. A round counts as succeeded when
findBlobsToRemove did not fail, every removal batch was scheduled and reported
success, and recordBlobsRemoval did not fail. waitBlobRemoval breaks out of the
loop and logs a warning on false.
This is not a timeout: a slow but working storage is still waited on for as long
as it needs, and only a failing round ends the wait, so slowness is never masked.
The 100-round cap is kept, no setting is added, no ProfileEvent is added and no
noexcept is removed. Both callers of the loop, commit() and tryCommit(), are
fixed by construction, and the signal is taken from removeBlobsBatch's existing
result, above the object storage, so all backends are covered rather than Azure
alone. The blobs stay in the metadata removal queue and BlobKillerThread::run()
keeps retrying them, so abandoning the wait cannot affect logical consistency:
the metadata transaction has already committed and the blobs are unreferenced.
Prior art the change deliberately does not repeat. On the ClickHouse#100064 branch,
3a7cf9d "stop waiting on error" introduced this family, bbadc15
reverted it with no recorded reason 59 minutes later, and 133087f
"limit wait rounds" added the i < 100 cap that master carries today. That
version defined a failed round as "the round threw", which forced
findBlobsToRemove, recordBlobsRemoval and removeBlobs to lose noexcept and
rethrow, and it would not have caught this failure at all: the Azure batch
deletes fail without throwing out of the round, so a round of 17 refused
batches counted as a success there and all 100 rounds still ran. Keying on the
bool that removeBlobsBatch already returns and removeBlobs already discarded
avoids both problems.
DiskObjectStorage::waitBlobsCleanup() (SYSTEM WAIT BLOBS CLEANUP) ignores the
new result on purpose: its contract is that the expected blobs are cleaned up
once it returns, it holds no lock, and it runs a single round, so it carries no
100x amplification. BlobKillerThread::shutdown() is a single drain round and is
unchanged for the same reason.
Test: DiskObjectStorageTest.BlobRemovalWaitStopsWhenRemovalFails, added to the
existing suite over the local_blob_storage disk. A new REGULAR failpoint,
local_object_storage_fail_remove_object, throws in
LocalObjectStorage::removeObjectIfExists before the removal, so the object
survives and stays queued across rounds. The oracle is the
BlobKillerThreadRuns delta rather than elapsed time, because an
instantly-throwing failpoint completes all 100 rounds in about 160ms and any
time-based assertion would be vacuous; EXPECT_GT(errors, 0) is the anti-vacuity
arm and fails if the injection is never reached. Measured 105 rounds without
this change and 2 with it, 50/50 repeats stable. On the MergeTree part-removal
path, TRUNCATE of a 3-part table against a rejecting storage runs 300 cleanup
rounds without this change and 3 with it.
`DiskObjectStorageTransaction::waitBlobRemoval` and `BlobKillerThread::triggerAndWait` described the wait's exit condition as a round that removed nothing, that is, as the object storage rejecting removals. The implemented predicate is narrower: a round fails when any removal batch was not scheduled or reported failure, or when `recordAsRemoved` failed, so a round that removed 1599 blobs of 1600 and lost one batch also ends the wait. Both comments now state that predicate. The declaration also states that `succeeded_rounds` is compared as a snapshot, so a concurrent round's success can be attributed to a wait that did not observe that round; this can only lengthen a wait, never end one early. `disk_transaction_wait_for_blob_removal` promised that the server waits for background blob removal to complete before acknowledging the operation. With the early exit that promise is best-effort, so the `DECLARE` doc string says so. The generated page under `docs/` is left to the documentation autogeneration workflow. No `SettingsChangesHistory.cpp` entry is added: no value changed, and server settings are not recorded there. `DiskObjectStorageTest.BlobRemovalWaitStopsWhenRemovalFails` asserted fewer than 20 cleanup rounds, which also holds for nineteen failed rounds, about 82 s of the Azure retry budget in the reported configuration. The bound is 8 now. An exact `rounds == 1` is not available on this fixture: the disk's own cleanup round at startup can land inside the measured window, and it counts as a succeeded round because it has nothing to remove, so the wait then runs a second round. Measured over 50 repeats: 34 runs at 1 round, 16 at 2 rounds, with at least one removal error every time. Without the fix the same test measures 110 rounds. The failure this branch fixes is the `Stress test (arm_tsan)` hung check reported on ClickHouse#118757 with the report https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=118757&sha=e26159554835816190f768f5e176d644fe6be3b1&name_0=PR&name_1=Stress%20test%20(arm_tsan)
`BlobRemovalWaitStopsWhenRemovalFails` only observed that the wait ended and that the injection was reached. It did not observe the retention that the early return promises, so a build that abandoned the wait and also dropped the blob from the removal queue - a silent object leak - passed the suite. The test now asserts, under the injection, that the object is still in the storage, and then that a later cleanup round removes it once removals work again. Only `markAsRemoved` erases from `InMemoryRemovalQueue`, so a blob a failed round wrongly recorded as removed leaves the queue for good. Measured with a throwaway mutation that records a failed round's whole batch: the two existing assertions still pass (1 round, 1 error) and only the new poll reddens, after its full 100 s budget with the object still present. The comment and the warning in `waitBlobRemoval` also claimed more than the code does. `removeBlobs` erases the location of every task that reported success and records every blob that lost its last location before returning its verdict, so a round that failed one batch out of sixteen did make recorded progress and an immediate retry can finish the remainder. Both texts now speak only about the blobs that are still queued, and the warning no longer reports `blobs.size()`, which is the count this transaction submitted rather than the count still queued.
`BlobRemovalWaitStopsWhenRemovalFails` bounded the round count from above, observed that the injection was reached, and observed that the blob stayed queued. None of that observes a round running to completion inside the window `removeFile` owns, so a build whose caller-side wait does not happen at all was reddened only by the accident of the disk's own background round landing in that sub-millisecond window. The test now also asserts a lower bound on the rounds it measures. The bound holds by construction: the blob is queued before the wait starts, so the loop enters its first iteration and `triggerAndWait` schedules a round and blocks until one finishes, and `executeBlobsCleanup` counts the round as its first statement. A round that started before the counter was sampled cannot have selected the blob, so it removes nothing, counts as succeeded and the loop triggers a fresh in-window round. 70 runs measured 1 or 2 rounds and never 0. Measured with a throwaway perturbation that returns from `waitBlobRemoval` before its loop, leaving the fix in place: the wait measures 0 rounds and 0 errors, the new lower bound reddens, and the upper bound passes, since it cannot see this build at all. With the three fix files reverted instead the verdict is the mirror image: 103 rounds redden the upper bound while the lower bound passes. The two bounds are independent, and together they state the contract as a range.
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex), four cold review rounds plus my own
Severity: ❌ blocker / One expected CI result, so it does not read as an unexplained red: Session id: cron:clickhouse-review-slot-8:20260915-102100 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-5:20260915-095500 |
|
Workflow [PR], commit [9dfbd2f] Summary: ❌
AI ReviewSummaryThis PR stops foreground blob-removal waits when cleanup makes no recorded progress, reducing repeated storage retries during outages. One concurrency defect remains: the new counters can classify a successful round as no progress and end a healthy wait prematurely. Findings
Tests
Final VerdictStatus: |
Michicosun
left a comment
There was a problem hiding this comment.
NEVER add new fail points. Simplify the diff and tests.
| { | ||
| /// Retrying immediately pays the storage's full retry budget again for a round that has | ||
| /// already failed. The blobs that are still queued stay queued for background removal. | ||
| if (!blob_killer->triggerAndWait()) |
There was a problem hiding this comment.
On cache-wrapped disks this new early-exit path also fires when the outer cache invalidation round fails, not only when the underlying object-storage deletion is stuck. DiskObjectStorage::wrapWithCache puts a MetadataStorageFromCacheObjectStorage layer on top, and that layer keeps objects_to_remove only in memory (startup()/shutdown() never persist or rebuild it). At the same time CachedObjectStorage still keys the filesystem cache by FileCacheKey::fromPath(object.remote_path), and cached plain_rewritable disks are a supported configuration.
That means one transient removeCacheIfExists exception now makes the foreground path give up after a single round; if the server restarts before the next background retry, the cache invalidation is lost permanently and the stale cache entry survives under the reused path key. Previously we kept retrying that local invalidation in the foreground up to the existing 100-round cap. Can we either keep the old retry behaviour for cache layers, or make the cache-layer removal queue durable before using false to abandon the wait here?
There was a problem hiding this comment.
The verdict is no longer per error. A round counts as progress when it removed at least one blob, so a transient removeCacheIfExists failure that still leaves other removals succeeding does not end the wait; only a round that removed nothing does. df5202f additionally stops an idle layer (empty queue, no error) from ending a wait that the other layer is still making progress on.
The durability point is real but pre-existing: the cache layer's objects_to_remove is an InMemoryRemovalQueue, and MetadataStorageFromCacheObjectStorage::startup()/shutdown() only delegate to the underlying storage, so a restart drops that queue on master too. The foreground path was already capped at 100 rounds, which is also a give-up. Making the cache-layer queue durable is a separate change from this one.
Review asked for no new fail point and a simpler diff and test. The round outcome is now the number of blobs the round removed, which executeBlobsCleanup already returns. findBlobsToRemove, recordBlobsRemoval and removeBlobs keep their signatures and their noexcept, no round struct is needed, and the predicate finally says what the comment claims: only a round that removed nothing ends the wait. A round that removed some of its blobs and failed on the rest keeps the wait going, which is what the previous "every step succeeded" predicate got wrong. The fail point and its LocalObjectStorage injection point are gone. The test makes the object storage reject the removal without any production code: the disk's only blob is replaced with a directory, so unlink fails with EISDIR and every cleanup round for that blob ends in an error. Measured on this tree: 1 round with the fix and 100, the whole budget, with the break reverted; 50 repeats measured 1 or 2 rounds with at least one removal error every time; neutralising the injection alone reddens the removal-error assertion, so the round bound cannot pass vacuously. DiskObjectStorageTest is 28/28.
A cache-wrapped disk runs a cleanup round per layer and waits for both, and the two removal queues drain independently: MetadataStorageFromCacheObjectStorage keeps its own queue and reports pending blobs for either. A layer whose queue is already empty removes nothing without failing, so keying the round's outcome on the removed count alone let such a layer end a wait that the other layer was still making progress on. The queue size the round already samples separates the two cases. The test now also proves that the abandoned wait leaves the blob queued, which is what makes it safe to stop waiting: after the wait it makes the blob removable again and expects a later round to drain it. Measured: mutating recordBlobsRemoval to record every blob instead of the fully removed ones leaves the blob in the storage forever and reddens that assertion, and the round bound still reddens at 100 rounds with the break reverted.
|
Thanks, done in 054e3d6 and df5202f on top of the reviewed head. No new fail point. 054e3d6 reverts Simpler diff. The round outcome is the blob count One deliberate addition (df5202f): a round whose queue is empty removes nothing without failing, and on a cache-wrapped disk the two removal queues drain independently, so keying the verdict on the removed count alone let an idle layer end a wait that the other layer was still making progress on. The queue size the round already samples separates those two cases. Measured on this tree: 1 cleanup round with the fix and 100, the whole budget, with the One thing I did not pin: a transaction submitting more blobs than |
Michicosun
left a comment
There was a problem hiding this comment.
Remove comments. If you need a comment for a function/method, it is badly designed.
Review asked for no comments: a function that needs one is badly designed. The two things the removed comments recorded belong here instead of in the code. succeeded_rounds is published before finished_rounds because waitRound wakes on finished_rounds, so a waiter woken by that counter must already be able to read this round's outcome. That is also the order of the earlier attempt at this fix in 3a7cf9d. A round whose queue was empty removes nothing without failing, which is why an empty dead blobs queue counts as progress rather than as a rejected removal. The bool that triggerAndWait returns is named where it is used, by the warning logged next to it, rather than in a header comment.
It made the blob removable again and waited for a background round to drain it. That races with the cleanup thread: LocalObjectStorage::removeObject returns silently when the object is already gone, so a round landing between the rmdir and the recreation of the blob dequeues it, and the recreated blob is then an orphan that no round will ever remove. Measured 1 failure in 12 runs, each spending the full 100 second poll before failing. Nothing is recreated now. Removing the obstruction is enough for the next round to drain the queue, and both properties the wait owes its caller are asserted on the dead blobs queue rather than on the object listing: the blobs are still queued when the wait gives up, and a later background round still removes them. Measured on this tree: 20 of 20 runs pass in 1.1 to 2.1 s each, and neutralising the obstruction reddens both the removal error assertion and the queued assertion, so neither can pass vacuously. DiskObjectStorageTest is 28/28.
|
Thanks, comments removed: the diff adds no comment line now (2fff850). What they recorded is in that commit message instead, namely why Re-running the new test also found it flaky at 1 failure in 12 runs, so I fixed that in the same wave (af14366). The change is 5 files, +74/-5, with |
`waitBlobRemoval` loops while `hasPendingRemovalBlobs` is true, that is while the blobs are still on the metadata storage removal queue, but the round verdict was computed from the physical delete count. The two observe different state. `removeBlobs` counted blobs whose object storage delete did not throw, before `recordBlobsRemoval` ran. `MetadataStorageFromDisk::recordAsRemoved` appends a REMOVED entry to the removal log before erasing from the in-memory queue, so a failing append leaves the blobs queued while that count stays positive. Retried rounds then delete already missing objects, which `removeObjectsIfExist` reports as success, so every round looked like progress and the foreground wait paid the full 100 round cap again. `recordAsRemoved` already returns how many blobs it took off the queue, and both implementations return that exactly, under the same mutex `getBlobsToRemove` takes. Propagate it instead of the delete count, so the verdict measures the state the wait loop tests. A round whose recording failed also no longer earns an immediate reschedule, which stops the background thread from hammering a failing removal log. Measured on the gtest fixture with the removal log append forced to throw: 104-107 cleanup rounds before, 1-2 after. The setting text no longer describes which round ends the wait. A round can delete blobs physically and still record none, and the local removal log can throw after the in-memory queue was already updated, so any wording keyed on the round outcome is wrong in one of those corners. What a user needs is that the acknowledgement can precede the removal.
CI finish ledger - a8c68b5Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
The failing ATTACH is a randomized stress-suite leftover table, not a table this branch creates; the other ten Session id: cron:our-pr-ci-monitor:20260915-230549 |
|
@groeneai merge changes from master and solve conflicts |
Conflict in BlobKillerThread.cpp: master added an early return to triggerAndWait for a storage without a dead blobs queue; it now returns the wrapped killer's verdict, or true when there is nothing to wait for. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merged master in 9dfbd2f. The only conflict was in |
| return true; | ||
| } | ||
|
|
||
| int64_t succeeded_before = succeeded_rounds.load(); |
There was a problem hiding this comment.
[P2] Take a consistent snapshot of round completion and progress
A successful round can be reported as making no progress here. run increments succeeded_rounds before finished_rounds (lines 316–317). If it is preempted between those increments, this load captures the new success count, while trigger still reads the old completion count. The caller therefore waits for that same successful round, then returns false because the success count already equals succeeded_before. Sequential consistency permits this interleaving.
For example, with metadata_request_size = max_metadata_request_size = 100 and 200 pending blobs, the first round can record 100 removals, yet waitBlobRemoval logs no progress and acknowledges the operation with the remaining 100 still queued, despite no deletion or metadata error. This breaks the intended behavior of continuing to wait while healthy cleanup makes progress.
Please make the completion/progress publication and baseline snapshot coherent, and add a regression that exercises this interleaving with a successful removal spanning multiple rounds.
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units40 translation units recompiled, 425 s compile time in total, 40 of them have a recent master baseline. |
CI finish ledger - 9dfbd2fEvery failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
CIDB has no other Session id: cron:our-pr-ci-monitor:20261022-140011 |
| return true; | ||
| } | ||
|
|
||
| int64_t succeeded_before = succeeded_rounds.load(); |
There was a problem hiding this comment.
With this a round that succeeds can still be reported as "no progress", which ends the wait while blobs are still being removed.
A run publishes its result with two separate atomic writes: succeeded_rounds.fetch_add, then finished_rounds.fetch_add.
triggerAndWait reads succeeded_rounds first and then finished_rounds inside trigger. If the waiter's reads land between the two writes then:
- run increments succeeded from S to S+1.
- The waiter reads succeeded_before = S+1.
- The waiter reads finished = F and sets expected = F+1, which is the round that just finished.
- run increments finished to F+1, so waitRound returns at once.
- The check S+1 > S+1 is false, so the call returns false.
Swapping the two writes does not fix it, because the waiter can then wake before the success count is visible. Replace the counter with the number of the last round that succeeded.
| remove_tasks_pool.setMaxThreads(round_threads_count); | ||
| int64_t removed_blobs = executeBlobsCleanup(round_request_batch, round_blobs_in_task, remove_tasks_runner, cluster, metadata_storage, object_storages, log); | ||
| int64_t recorded_blobs = executeBlobsCleanup(round_request_batch, round_blobs_in_task, remove_tasks_runner, cluster, metadata_storage, object_storages, log); | ||
| succeeded_rounds.fetch_add(recorded_blobs > 0 || dead_queue_estimate == 0); |
There was a problem hiding this comment.
The verdict comes from whichever round the waiter waits on, not from the waiter's own blobs.
| { | ||
| if (!blob_killer->triggerAndWait()) | ||
| { | ||
| LOG_WARNING(getLogger("DiskObjectStorageTransaction"), "Blob removal made no progress, not waiting for it anymore"); |
There was a problem hiding this comment.
This new warning does not say which disk it is about.
|
Let's merge this, and we will stop waiting for object storage at all for removals. |
Address the review of @Ergus on ClickHouse#120166. `run` published a round's outcome with two separate writes, `succeeded_rounds` and then `finished_rounds`. A waiter whose reads landed between them took the new success count as its baseline and then waited for that same round, so a round that removed blobs was reported as no progress and the wait ended early. `run` now stores the number of the last round that succeeded before it stores the number of the last finished round, and `triggerAndWait` compares that number with the round it waited for. `trigger` now waits for the next round to start instead of the next round to finish. A round that is already running read the removal queue before the caller queued its blobs, so its outcome said nothing about them. The round that is waited for now always read the queue after the caller's blobs were queued. The warning that ends the wait now names the disk. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for the review. The three changes it asked for are on the branch in groeneai@8c3f2e5 (the number of the last succeeded round instead of the counter, the wait judged on a round that starts after the call, and the disk name in the warning), pushed before I noticed the close. Since #133235 replaces this PR, I am leaving it closed. |
Related: #118757
Related: #118662
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixed
DROP/DETACHof a table or database blocking for minutes when the disk's object storage is unreachable. The best-effort wait for blob removal retried already-failing cleanup rounds, each paying the storage client's full retry budget; it now stops as soon as a round fails.Description
From the
Stress test (arm_tsan)hung check on #118757's head, unrelated to that PR (report):azuriterefused connections 11 minutes before it tripped.c_stacktraces.loghas 128 threads inwaitBlobRemoval->triggerAndWait, 17 asleep in the Azure SDKRetryPolicy::Send, and 19MergeTreeCleanupThreadtasks holding theexec_mutexthat 2DETACH DATABASEqueries wait for inIMergeTreeCleanupThread::stop, one already cancelled atelapsed: 392.23.Cause:
waitBlobRemovalrunsfor (i < 100 && hasPendingRemovalBlobs(blobs)) triggerAndWait();after the metadata transaction has committed. A failing round records nothing removed, sohasPendingRemovalBlobsnever clears and the loop runs to the cap. The100bounds rounds, not time: atazure_sdk_max_retries=10with backoff capped at 1s a round costs ~4.3s, so the cap is ~430s against the observed 392s.disk_transaction_wait_for_blob_removaldefaults totrue, so released users on Azure or S3 hit this in an outage.Fix:
triggerAndWaitnow reports whether a cleanup round succeeded while the caller waited, via asucceeded_roundscounter published beforefinished_rounds;waitBlobRemovalbreaks and warns onfalse. The cap stays; no setting, nonoexceptlost.commitandtryCommitshare the loop; the signal isremoveBlobsBatch's existing result, above the object storage, so every backend is covered. Measured on MergeTree part removal against a rejecting storage: 300 rounds before, 3 after; gtest over 100 vs 1-2.DiskObjectStorage::startupImplloops onblob_copier->triggerAndWaitwith no cap, one round per second: not implicated here, copier off by default, and I can extend the signal there on request. The uninterruptibledeactivatethat trapped the cancelledDETACHis untouched on purpose: polling it changes scheduling for every task and does not help a plainDROP. #118662 adds an earlyreturnat the top oftriggerAndWait, overlapping this hunk: whichever lands second keeps that guard and returnstrue.Prior art on this seam, including a reverted attempt (click to expand)
@ Michicosun wrote
waitBlobRemovalin #100064 and built, reverted and replaced this family of fix on that branch on 2026-03-20:3a7cf9d1d8ad"stop waiting on error" (16:03),bbadc1522478reverting it with no recorded reason (17:02), then133087f728b4"limit wait rounds" (17:04), which is thei < 100cap in master today. He also asked for changes on my #101680 ("a timeout would mask the underlying issue") and closed it as unrelated to hung queries.Two differences matter.
3a7cf9d1d8addefined a failed round as the round threw, which forcedfindBlobsToRemove,recordBlobsRemovalandremoveBlobsto losenoexceptand rethrow. And that predicate would not have caught this failure: the Azure batch deletes fail without throwing out of the round, sinceremoveBlobsBatchcatches, countsBlobKillerThreadRemoveBlobsErrorsand returns aboolthatremoveBlobsdiscards, so a round of 17 refused batches counts as a success and all 100 rounds still run. This change keys on exactly that discardedbool, keeps everynoexcept, adds no throwing path, and keeps the cap.On masking: this is not a timeout, so a slow but working storage is still waited on in full and only a round that could not remove what it selected ends the wait. The signature here is a hung query rather than slow deletion, and nothing becomes silent.
BlobKillerThreadRemoveBlobsErrorsandDiskObjectStorageWaitBlobRemovalMicrosecondsstill count it,removeBlobsBatchstill logs the exception, and the newLOG_WARNINGnames the give-up. The wait is best-effort by construction: the metadata transaction commits first, the blobs are already unreferenced, andBlobKillerThread::runreschedules itself and retries the queue forever.Workflow [PR]
Sync PR [sync-upstream/pr/120166]