mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
Merge pull request #648 from seaweedfs/fix/ack-budget
volume: the revocation ACK's bound exceeds what the master spends on it
This commit is contained in:
commit
ab6267922d
4 files changed
+140
-6
No files matched your search
@@ -16,8 +16,10 @@ import (
|
||||
const (
|
||||
exitWorkspaceRetry = 75
|
||||
exitWorkspaceSuperseded = 78
|
||||
// Existing post-drain ACK wait; M2 Revoking -> Revoked, Part D.
|
||||
workspaceLeaseCloseoutTimeout = 3 * time.Second
|
||||
// Post-drain ACK wait; M2 Revoking -> Revoked, Part D. It covers the
|
||||
// guard's stop reply (the resource owner has drained by then) and its
|
||||
// ACK call, so it exceeds the ACK's own bound by 1 s.
|
||||
workspaceLeaseCloseoutTimeout = volume.WorkspaceAckTimeout + time.Second
|
||||
)
|
||||
|
||||
type workspaceExit struct {
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
package volume
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
control "github.com/seaweedfs/seaweed-block/core/rpc/control"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// slowAckClient is a master that answers the revocation ACK after delay
|
||||
// (its bounded HEAD read and write), honouring the call's deadline.
|
||||
type slowAckClient struct {
|
||||
delay time.Duration
|
||||
acked chan struct{}
|
||||
valid time.Duration // the revoking lease's validity (default 30 s)
|
||||
seen *ackCall // what the ACK call was entered with (optional)
|
||||
}
|
||||
|
||||
// ackCall records the ACK call as dispatched: entered with a live context,
|
||||
// and the deadline that context carried.
|
||||
type ackCall struct {
|
||||
mu sync.Mutex
|
||||
entered bool
|
||||
live bool
|
||||
deadline time.Time
|
||||
hasDeadline bool
|
||||
}
|
||||
|
||||
func (c slowAckClient) RenewWorkspaceLease(context.Context, *control.WorkspaceIdentity, ...grpc.CallOption) (*control.WorkspaceLeaseFact, error) {
|
||||
valid := c.valid
|
||||
if valid == 0 {
|
||||
valid = 30 * time.Second
|
||||
}
|
||||
return &control.WorkspaceLeaseFact{VolumeId: "v", ReplicaId: "r", Epoch: 1, ValidForNs: int64(valid), Revoking: true}, nil
|
||||
}
|
||||
|
||||
func (c slowAckClient) AckWorkspaceRevoked(ctx context.Context, _ *control.WorkspaceRevocationAck, _ ...grpc.CallOption) (*control.WorkspaceEmpty, error) {
|
||||
if c.seen != nil {
|
||||
c.seen.mu.Lock()
|
||||
c.seen.entered, c.seen.live = true, ctx.Err() == nil
|
||||
c.seen.deadline, c.seen.hasDeadline = ctx.Deadline()
|
||||
c.seen.mu.Unlock()
|
||||
}
|
||||
select {
|
||||
case <-time.After(c.delay):
|
||||
close(c.acked)
|
||||
return &control.WorkspaceEmpty{}, nil
|
||||
case <-ctx.Done():
|
||||
return nil, ctx.Err()
|
||||
}
|
||||
}
|
||||
|
||||
// A master that takes 2.5 s to answer the ACK (above its 2 s HEAD read
|
||||
// alone, still inside its bounded steps) gets a completed ACK: the holder's
|
||||
// ACK bound exceeds the master's.
|
||||
func TestWorkspaceRevocationAckOutlastsTheMastersBoundedSteps(t *testing.T) {
|
||||
if WorkspaceAckTimeout <= 2*time.Second+500*time.Millisecond {
|
||||
t.Fatalf("WorkspaceAckTimeout %v does not exceed the master's 2 s HEAD read plus its write and reconcile", WorkspaceAckTimeout)
|
||||
}
|
||||
client := slowAckClient{delay: 2500 * time.Millisecond, acked: make(chan struct{})}
|
||||
g, err := NewWorkspaceLeaseGuard(workspaceTestView{}, client, &control.WorkspaceIdentity{VolumeId: "v", ReplicaId: "r", Epoch: 1}, func(context.Context) (uint64, error) { return 7, nil }, nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
|
||||
defer cancel()
|
||||
if err := g.Run(ctx); err != nil {
|
||||
t.Fatalf("a 2.5 s ACK answer failed the revocation: %v", err)
|
||||
}
|
||||
select {
|
||||
case <-client.acked:
|
||||
default:
|
||||
t.Fatal("the master's ACK answer was not awaited")
|
||||
}
|
||||
}
|
||||
|
||||
// The lease deadline still bounds the ACK: with the revoking lease valid for
|
||||
// 1 s and a master that answers after 3 s, the ACK call is dispatched with a
|
||||
// live context whose deadline is the lease deadline (earlier than the 5 s
|
||||
// ACK bound and the caller's), it ends with DeadlineExceeded at about 1 s,
|
||||
// and afterwards the guard holds no lease and no ACK completed.
|
||||
func TestWorkspaceRevocationAckIsCutAtTheLeaseDeadline(t *testing.T) {
|
||||
seen := &ackCall{}
|
||||
client := slowAckClient{delay: 3 * time.Second, acked: make(chan struct{}), valid: time.Second, seen: seen}
|
||||
g, err := NewWorkspaceLeaseGuard(workspaceTestView{}, client, &control.WorkspaceIdentity{VolumeId: "v", ReplicaId: "r", Epoch: 1}, func(context.Context) (uint64, error) { return 7, nil }, nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
parent := 20 * time.Second
|
||||
ctx, cancel := context.WithTimeout(context.Background(), parent)
|
||||
defer cancel()
|
||||
start := time.Now()
|
||||
err = g.Run(ctx)
|
||||
elapsed := time.Since(start)
|
||||
|
||||
seen.mu.Lock()
|
||||
entered, live, deadline, hasDeadline := seen.entered, seen.live, seen.deadline, seen.hasDeadline
|
||||
seen.mu.Unlock()
|
||||
if !entered || !live {
|
||||
t.Fatalf("the ACK was not dispatched with a live context (entered %v, live %v); err %v", entered, live, err)
|
||||
}
|
||||
if !errors.Is(err, context.DeadlineExceeded) {
|
||||
t.Fatalf("err %v; want DeadlineExceeded at the lease deadline", err)
|
||||
}
|
||||
if !hasDeadline || !deadline.Before(start.Add(WorkspaceAckTimeout)) || !deadline.Before(start.Add(parent)) || deadline.After(start.Add(1500*time.Millisecond)) {
|
||||
t.Fatalf("the ACK's deadline %v (set %v) is not the 1 s lease deadline: start %v, ACK bound %v, parent %v", deadline, hasDeadline, start, WorkspaceAckTimeout, parent)
|
||||
}
|
||||
if elapsed >= 2500*time.Millisecond {
|
||||
t.Fatalf("the ACK ran %v: it was not cut at the 1 s lease deadline", elapsed)
|
||||
}
|
||||
if g.Held() {
|
||||
t.Fatal("the guard still holds the lease after its deadline")
|
||||
}
|
||||
select {
|
||||
case <-client.acked:
|
||||
t.Fatal("an ACK completed after the lease deadline")
|
||||
default:
|
||||
}
|
||||
}
|
||||
@@ -68,6 +68,15 @@ type WorkspaceLeaseGuard struct {
|
||||
// revocation to its ACK also includes that renewal, the drain and the ACK.
|
||||
const stopPendingPoll = 250 * time.Millisecond
|
||||
|
||||
// WorkspaceAckTimeout bounds the holder's revocation ACK call (within the
|
||||
// lease deadline). It must exceed what the master spends before it answers
|
||||
// (core/host/master AckWorkspaceRevoked): its 2 s bounded HEAD read, then the
|
||||
// ACK's durable write and the bindings' reconcile (about 0.3 s together,
|
||||
// measured), behind its workspace lock. 5 s leaves about 2.7 s for that lock
|
||||
// and for slower disks. A shorter bound lets a slow but successful ACK fail
|
||||
// here (the holder exits 75 although the master may have recorded it).
|
||||
const WorkspaceAckTimeout = 5 * time.Second
|
||||
|
||||
// WorkspaceDrainTimeout is the existing fail-closed lease drain bound.
|
||||
// INV-WS-STARTUP-RETRY-001 also bounds the process cleanup by this duration.
|
||||
const WorkspaceDrainTimeout = 5 * time.Second
|
||||
@@ -398,7 +407,7 @@ func (g *WorkspaceLeaseGuard) drain(parent context.Context, ack bool) error {
|
||||
}
|
||||
leaseCtx, leaseCancel := context.WithDeadline(parent, until)
|
||||
defer leaseCancel()
|
||||
ctx, cancel := context.WithTimeout(leaseCtx, 2*time.Second)
|
||||
ctx, cancel := context.WithTimeout(leaseCtx, WorkspaceAckTimeout)
|
||||
defer cancel()
|
||||
_, err := g.client.AckWorkspaceRevoked(ctx, &control.WorkspaceRevocationAck{Identity: &g.id, HeadGen: g.headGen})
|
||||
return err
|
||||
|
||||
@@ -802,7 +802,7 @@ Notes:
|
||||
| `INV-WS-SINGLE-FILER-001` | A chunk volume starts only when `--chunk-filer` is the only filer of its group: a master listing another filer or several refuses at once, whichever master answers first; a filer no master lists within 60 s is refused. A startup census, not a fence: a filer added to the group later is not detected. | M4 (startup) → Refused | `core/frontend/chunkstore/single_filer.go` `CheckSingleFiler`; `cmd/blockvolume/chunk_remote.go` `newChunkWiring`; `cmd/sw-block/chunk.go` `refuseUnlessSingleFiler` | `TestCheckSingleFilerRefusesAnotherOrSeveralFilers`, `TestCheckSingleFilerFailsClosed`, `TestCheckSingleFilerFavourableThenStalledRefuses`, `TestIsTargetComparesScopedAddresses`, `TestCheckSingleFilerPasses` (`core/frontend/chunkstore/single_filer_test.go`), `TestChunkWiringRefusesAMultiFilerGroup` (`cmd/blockvolume/single_filer_test.go`), `TestOpsChunk_WritingCommandsRunTheSingleFilerCheck` (`cmd/sw-block/chunk_start_check_test.go`), `TestOpsChunk_VerifyRunsTheSingleFilerCheck` (`cmd/sw-block/chunk_verify_test.go`) | — | ACTIVE |
|
||||
| `INV-WS-LEASE-REGRANT-001` | Re-grant after expiry keeps the same holder and epoch, with no pending move or revocation, a certain store, and one durable write after the horizon/deadline plus skew barrier. Restart begins a new session and voids the old; ordinary reopen keeps HEAD identity (epoch, holder, claim) unchanged. | M2 Expired → Granted; M9 Start | `core/authority/workspace_lease_view.go` `regrantWorkspaceLease`; `core/authority/workspace.go` `forcedMoveBarrierLocked`; `core/frontend/chunkstore/layout/start.go` `Start` | `TestWorkspaceLeaseExpiredSameHolderRegrantIsDurable`, `TestWorkspaceLeaseRegrantWaitsForFullSkew`, `TestWorkspaceLeaseRegrantDefeatsAlreadyPassedForcedPreflight`, `TestWorkspaceLeaseForcedIssueDefeatsOldHolderRegrant`, `TestWorkspaceLeaseRegrantWaitsForDurabilityAndLatchesFailure` (`core/authority/workspace_regrant_test.go`); `TestWorkspaceLeaseRegrantPreservesLocalLogThroughFirstCut` (`core/authority/workspace_regrant_storage_test.go`); `TestStart_OwnEpochFreshRootRefusedBeforeClaim`, `TestStart_OwnEpochSameRootContinues` (`core/frontend/chunkstore/layout/start_test.go`); `TestClaim_WritesItsClaimID`, `TestRunClaim_VoidsTheOldSession` (`core/frontend/chunkstore/layout/claim_test.go`); `TestLocalReopenClaimsBeforeServing` (`core/frontend/durable/provider_reopen_belt_test.go`) | `WorkspaceRegrant` `NoDualServingInc`, `RegrantNoLoss`, `DiskCoversMemory`; `INV-SNAPK-START-ROOT-001` | ACTIVE |
|
||||
| `INV-WS-LEASE-001` | A host admits frontend I/O and cuts only under an unexpired lease for its exact `{volume, replica, epoch}`; a fenced guard never reopens, even on a late renewal reply. | M4 lease guard: Valid → Fenced | `core/host/volume/workspace_lease.go` `permits`, `Refresh` | `TestWorkspaceLeaseExpiryFencesWithoutTimerAndCannotReopen`, `TestWorkspaceDelayedRenewalCannotUndoExpiry` (`core/host/volume/workspace_lease_test.go`); `TestWorkspaceHostRequiresLeaseBeforeFrontendAndCut` (`core/host/volume/workspace_runtime_test.go`); `TestWorkspacePausedGranteeRefusedAtAttach` (`core/host/master/workspace_paused_grantee_test.go`) | `WorkspaceTakeover` `NoDualServing` | ACTIVE |
|
||||
| `INV-WS-REVOKE-ACK-001` | A host acknowledges a revocation only after its frontend and cuts have stopped; a cancelled or expired drain sends no acknowledgement. | M4 lease guard: Revoking → Acked | `core/host/volume/workspace_lease.go` `drain` | `TestWorkspaceRevocationAckOnlyAfterFrontendAndCutsStop` (`core/host/volume/workspace_lease_test.go`); `TestWorkspaceHostCancelOrExpiryDuringRevokeDrainNeverACKs` (`core/host/volume/workspace_runtime_test.go`) | `WorkspaceTakeover` `CleanNoLoss` | ACTIVE |
|
||||
| `INV-WS-REVOKE-ACK-001` | A host acknowledges a revocation only after its frontend and cuts have stopped; a cancelled or expired drain sends no acknowledgement. | M4 lease guard: Revoking → Acked | `core/host/volume/workspace_lease.go` `drain` | `TestWorkspaceRevocationAckOnlyAfterFrontendAndCutsStop` (`core/host/volume/workspace_lease_test.go`); `TestWorkspaceHostCancelOrExpiryDuringRevokeDrainNeverACKs` (`core/host/volume/workspace_runtime_test.go`); `TestWorkspaceRevocationAckOutlastsTheMastersBoundedSteps`, `TestWorkspaceRevocationAckIsCutAtTheLeaseDeadline` (`core/host/volume/workspace_ack_budget_test.go`) | `WorkspaceTakeover` `CleanNoLoss` | ACTIVE |
|
||||
| `INV-WS-STOP-PENDING-001` | From when the detach hook of a chunk detach runs until the lease guard fences, or until that detach's resume clears stop-pending, each sleep of the guard after a completed renewal is at most 250 ms on the local monotonic clock. | M4 lease guard: Valid → StopPending → Valid \| Fenced | `core/host/volume/workspace_lease.go` `StopPending`, `ClearStopPending`, `renewDelay`, `Run`; `core/host/volume/workspace_runtime.go` `WorkspaceStopPending`, `WorkspaceStopResumed`; `core/frontend/durable/provider_chunk.go` `DetachVolume`, `detachVolume`, `resumeAfterDetach`; `cmd/blockvolume/main.go` `run` (wiring) | `TestWorkspaceLeaseStopPendingSchedule`, `TestWorkspaceHostStopResumedClearsOnlyTheLatestAttempt`, `TestWorkspaceHostFailedDetachStopPendingByOutcome`, `TestWorkspaceHostDetachHookFencesWithinPoll`, `TestWorkspaceLeaseStopPendingNeverBlocks` (`core/host/volume/workspace_lease_stop_pending_test.go`); `TestWALStoreChunk_DetachHookPrecedesDrain`, `TestWALStoreChunk_DetachResumeHookOnlyOnProvenAbort`, `TestWALStoreChunk_DetachCallsStopHook` (`core/frontend/durable/provider_chunk_detach_hook_test.go`) | — | ACTIVE |
|
||||
| `INV-WS-SAME-HOST-CLEAN-MOVE-001` | A same-host move issues a higher epoch: a clean move needs the current holder's sealed HEAD and its recorded epoch/holder/position ACK, and the successor reads that sealed image; a forced move needs the normal lease barrier and a durable lost-range record. | M2 Acked or Expired → Moved; M9 detached → higher-epoch idle | `core/authority/workspace.go` `validateWorkspaceMoveRequest`, `prepareWorkspaceMoveLocked`; `core/host/master/workspace_service.go` `workspaceMoveCheckLocked`; `core/frontend/chunkstore/layout/start.go` `Start`, `core/frontend/chunkstore/layout/claim.go` `Claim` | `TestWorkspaceSameHostForcedMoveRecordsLostRange` (`core/authority/workspace_same_host_forced_test.go`); `TestWorkspaceRPCSameHostForcedRecoveryRecordsLoss` (`core/host/master/workspace_same_host_forced_test.go`); `TestWorkspaceSameHostCleanMoveUsesOvernightSeal` (`core/authority/workspace_same_host_clean_test.go`); `TestWorkspaceRPCSameHostCleanMoveKeepsRepreparedBinding` (`core/host/master/workspace_same_host_clean_test.go`); `TestLayoutSameHostCleanSuccessorReadsSealedImage` (`core/frontend/durable/provider_layout_same_host_clean_test.go`) | `WorkspaceRegrant` `SameHostLoadsSealed`; `INV-SNAPK-DETACHED-001`. The B provider test performs a real plain detach, same-host higher-epoch fresh-root Start, and reads the sealed bytes. | ACTIVE |
|
||||
| `INV-WS-DELETE-NO-LIVE-HOLDER-001` | A workspace volume is marked deleting only with no live holder (`TERM-LIVE-HOLDER-001`): no line, a clean revocation ACK for the line, or HEAD below the line's epoch. A sealed HEAD without an ACK, a live or unreadable one is refused; the HEAD compare-and-swap to deleting fences a later claim. | M2 none/Granted/Revoking/Expired → Deleting | `core/authority/workspace_holder_state.go` `WorkspaceHolderState`; `core/authority/workspace.go` `RecordWorkspaceDeletion`; `core/host/master/services.go` `MarkVolumeDeleting`, `deleteHolderEvidence` | `TestWorkspaceHolderState` (`core/authority/workspace_holder_state_test.go`); `TestDeleteAdmitsANeverStartedLine` (`core/host/master/workspace_delete_never_started_test.go`); `TestDeleteAdmissionVerdicts` (`core/authority/workspace_delete_admission_test.go`); `TestMarkVolumeDeleting_RefusedWhileAssigned` (`core/host/master/volume_deleting_test.go`) | NeverStarted r2 `DeleteNeverStrandsALiveHolder`, `NoServedWriteLost`, re-run can finish, re-run can settle (exhaustive, 21 of 21 configurations as expected). Not modelled: two delete processes at the same instant; the gap between HEAD deleted and the volume marked deleted | ACTIVE |
|
||||
@@ -834,7 +834,7 @@ Notes:
|
||||
- Part T fence ownership: `Host.FenceWorkspaceLease` uses `WorkspaceLeaseGuard.fenceLocked`, including before runtime publication; the zero-validity terminal guard preserves the first cause through installation and can grant no I/O. No second host fence latch exists. `TestWorkspaceHostFencePublishesOneTerminalCause`, `TestWorkspaceInstalledHostFenceRecordsCause`, `TestWorkspaceFenceBeforeHeldInstallIsTerminal` (`core/host/volume/workspace_terminal_test.go`).
|
||||
- Startup arbitration: sealed-replay/stale-local-root dispositions suppress the same wait's deadline defer (`TestChunkStartupRetainedDispositionWinsExpiredAttachContext`, `core/frontend/durable/provider_startup_outcome_test.go`). A stop request retires startup monitoring and its atomic-choice callback before resource cleanup; success is chosen only after the guard's ACK (`TestWorkspacePlannedDrainOwnsStartupExpiryUntilAck`, `cmd/blockvolume/process_exit_authority_test.go`). Provider-validated startup selection briefly takes the process startup mutex; cancellation takes only that mutex. No reverse provider-lock acquisition or remote call occurs.
|
||||
|
||||
- ACK closeout: the guard sets `revoked` under its mutex before calling `drain` and invoking the stop callback. After a drain reply, its ACK call is bounded by the original lease deadline and 2 s RPC timeout. The existing 3 s closeout wait therefore expires before a newly selected retry's 5 s supervisor bound starts; a prior nonzero decision remains immutable. A restart can ACK the sealed HEAD only while the original revoking lease is still valid. Once it expires, re-grant refuses revoking/ACKed leases: repeated 75 is not recovery of an unconfirmed ACK, and operator recovery is required; no lease or ACK gate is bypassed.
|
||||
- ACK closeout: the guard sets `revoked` under its mutex before calling `drain` and invoking the stop callback. After a drain reply, its ACK call is bounded by the original lease deadline and the 5 s `WorkspaceAckTimeout` (above the master's 2 s HEAD read plus its ACK write and reconcile). The 6 s closeout wait (`WorkspaceAckTimeout` + 1 s) therefore expires before a newly selected retry's 5 s supervisor bound starts; a prior nonzero decision remains immutable. A restart can ACK the sealed HEAD only while the original revoking lease is still valid. Once it expires, re-grant refuses revoking/ACKed leases: repeated 75 is not recovery of an unconfirmed ACK, and operator recovery is required; no lease or ACK gate is bypassed.
|
||||
|
||||
Notes:
|
||||
|
||||
@@ -1149,7 +1149,7 @@ Format v3 row 4 runs in production recovery (`WALStore.recoverV3`). Its typed sc
|
||||
|
||||
| Wait | Machine / invariant | Bound | Release and cancellation | Locks / remote work |
|
||||
|---|---|---|---|---|
|
||||
| Workspace revocation ACK closeout | M2 Revoking → Revoked; `INV-WS-STARTUP-RETRY-001` | Existing `workspaceLeaseCloseoutTimeout` (3 s), after the resource owner replies to the guard | `finishWorkspaceLease` owns the wait. ACK success selects normal exit; error/expiry selects 75 with `revoke_ack_unconfirmed`. The 5 s supervisor cleanup clock starts only after a nonzero outcome is selected. | No provider/storage lock held. |
|
||||
| Workspace revocation ACK closeout | M2 Revoking → Revoked; `INV-WS-STARTUP-RETRY-001` | `workspaceLeaseCloseoutTimeout` (`WorkspaceAckTimeout` + 1 s = 6 s), after the resource owner replies to the guard | `finishWorkspaceLease` owns the wait. ACK success selects normal exit; error/expiry selects 75 with `revoke_ack_unconfirmed`. The 5 s supervisor cleanup clock starts only after a nonzero outcome is selected. | No provider/storage lock held. |
|
||||
| Workspace primary retry cleanup | M2 restart; `INV-WS-STARTUP-RETRY-001` | Existing `WorkspaceDrainTimeout` (5 s) after retry/no-retry outcome selection | Process supervisor owns the deadline and returns 75 or 78 even if resource-owner cleanup blocks; first outcome stays latched. Signal and ACKed revocation retain normal exit. | Provider latches by recovery generation under p.mu; wake is nonblocking; the supervisor holds no provider/storage lock. |
|
||||
| Workspace primary supervisor retries | M2 restart; `INV-WS-STARTUP-RETRY-001` | Shipped systemd units: `StartLimitIntervalSec=600`, `StartLimitBurst=10`, `RestartSec=5s`. While the master answers, each cycle is the assignment wait (30 s from contact) + 5 s, reaching the limit in about 6 minutes; while it gives no reply the process waits without exiting, so an outage costs one start (the fence), not the limit. If the assignment wait exceeds about 55 s, raise the interval too or the window never fills | systemd owns the restart window: after 10 starts in 600 s, another start within the window is refused and the unit fails; operator reset/start follows remediation. Exit 78 and ACKed exit 0 do not restart. | No application lock; `TestBlockvolumeUnitsBoundStartupRetries` (`internal/testops/blockvolume_systemd_test.go`) checks both shipped units. |
|
||||
| Offline seal | M5 PlainStop -> Quiesce; `INV-CUT-PLAIN-DETACH-001` | Caller context; positive HTTP timeoutMs. Completed uploads resume only within one blockvolume process and matching owner/HEAD/chunk versions; after restart the seal must fit seal_timeout_ms. | Provider owns drain, detached cut and settlement. Cancellation preserves unknown/fenced outcome safety; a closed frontend stays closed. | No admission lock held during store or remote I/O. |
|
||||
|
||||
Reference in new issue
Block a user