diff --git a/seaweed-block/.gitattributes b/seaweed-block/.gitattributes index 22dc0a8d6c..6afdc550c9 100644 --- a/seaweed-block/.gitattributes +++ b/seaweed-block/.gitattributes @@ -1,2 +1,3 @@ *.sh text eol=lf core/chunkkernel/chunk-kernel-2.tsv text eol=lf +.github/model-code-trace.tsv text eol=lf merge=union diff --git a/seaweed-block/.github/model-code-trace.md b/seaweed-block/.github/model-code-trace.md index 3c8b881d25..d08e45cec9 100644 --- a/seaweed-block/.github/model-code-trace.md +++ b/seaweed-block/.github/model-code-trace.md @@ -8,6 +8,17 @@ path and `Module.Action`. Repeat a path to list alternative actions that cover it. Paths are case-sensitive; directories and glob patterns are not expanded. Missing, empty or malformed mappings refuse the check. +Source line numbers are not part of this file-wide mapping. Moving a function +or test within its file does not change its model obligations or rewrite the +table. The time-bound registry separately keys individual bounds by file, +function, bound kind and occurrence; CI scans current source locations for +diagnostics rather than committing those locations. + +Git uses its built-in union merge for this table so concurrent row additions +are retained. After a merge, sort and deduplicate the non-comment rows; the +checker refuses unsorted or duplicate rows. Review removals explicitly: a +union merge does not decide whether an old mapping should be removed. + The reviewed map uses the neutral public module names: `SnapshotRemoval`, `RestoreTarget`, `HolderInterface`, `EngineAdapter`, `StopAndRestart`, `MoveAdmission`, `Promotion`, `ProbeRound`, `FencingRound`, `VolumeCreate`, diff --git a/seaweed-block/.github/model-code-trace.tsv b/seaweed-block/.github/model-code-trace.tsv index 4c53582e5b..2ba6033fea 100644 --- a/seaweed-block/.github/model-code-trace.tsv +++ b/seaweed-block/.github/model-code-trace.tsv @@ -1,4 +1,12 @@ # Exact repository-relative pathModule.Action; repeat a path for alternatives. +cmd/blockvolume/snapshot_operation_shutdown.go SnapOps.Stall +cmd/sw-block/chunk.go CutTime.Poll +cmd/sw-block/cut_progress_poll.go CutTime.CliGiveUp +cmd/sw-block/cut_progress_poll.go CutTime.CliServerUnknown +cmd/sw-block/cut_progress_poll.go CutTime.CliSilent +cmd/sw-block/cut_progress_poll.go CutTime.HolderRestart +cmd/sw-block/cut_progress_poll.go CutTime.Poll +cmd/sw-block/snapshot_operation.go SnapOps.Send cmd/sw-block/volume_backup.go RestoreCommand.Abort cmd/sw-block/volume_backup.go RestoreCommand.AbortVerify cmd/sw-block/volume_backup.go RestoreCommand.Run @@ -21,6 +29,28 @@ core/authority/workspace_delete_reservation.go MoveAdmission.Reserve core/authority/workspace_lease_view.go HolderInterface.Grant core/authority/workspace_lease_view.go HolderInterface.Regrant core/engine/apply.go ReplicationPeer.Reconcile +core/frontend/chunkstore/catalog_b.go CleanBatch.Publish +core/frontend/chunkstore/catalog_b.go CleanBatch.Request +core/frontend/chunkstore/catalog_snapshot_operation.go CleanBatch.Publish +core/frontend/chunkstore/clean_admission.go CleanBatch.Begin +core/frontend/chunkstore/clean_admission.go CleanBatch.Close +core/frontend/chunkstore/clean_admission.go CleanBatch.Request +core/frontend/chunkstore/clean_b.go CleanBatch.BeginIn +core/frontend/chunkstore/clean_b.go CleanBatch.Close +core/frontend/chunkstore/clean_b.go CleanBatch.Effects +core/frontend/chunkstore/clean_b.go CleanBatch.PrepIn +core/frontend/chunkstore/clean_b.go CleanBatch.PrepOut +core/frontend/chunkstore/clean_b.go CutTime.Complete +core/frontend/chunkstore/clean_b.go PageChain.Sweep +core/frontend/chunkstore/clean_b.go SnapshotRemoval.BeginClean +core/frontend/chunkstore/clean_b.go SnapshotRemoval.EndClean +core/frontend/chunkstore/clean_b.go StaleClean.HeadRead +core/frontend/chunkstore/clean_intent_b.go CleanBatch.Publish +core/frontend/chunkstore/clean_intent_b.go CleanBatch.Request +core/frontend/chunkstore/clean_intent_b.go PageChain.CRead +core/frontend/chunkstore/clean_intent_b.go QueueCap.Consume +core/frontend/chunkstore/cut_verification_window.go CutTime.Complete +core/frontend/chunkstore/cut_verification_window.go CutWindow.CallTimeout core/frontend/chunkstore/layout/claim.go EngineAdapter.Takeover core/frontend/chunkstore/layout/claim.go MoveAdmission.ClaimB core/frontend/chunkstore/layout/claim.go SnapshotRemoval.Claim @@ -29,8 +59,16 @@ core/frontend/chunkstore/layout/clean.go EngineAdapter.MaintBegin core/frontend/chunkstore/layout/clean.go EngineAdapter.MaintEnd core/frontend/chunkstore/layout/clean.go SnapshotRemoval.BeginClean core/frontend/chunkstore/layout/clean.go SnapshotRemoval.EndClean +core/frontend/chunkstore/layout/clean_batch.go CleanBatch.PrepIn +core/frontend/chunkstore/layout/clean_batch.go CleanBatch.PrepOut +core/frontend/chunkstore/layout/clean_batch.go SnapshotRemoval.EndClean +core/frontend/chunkstore/layout/clean_batch.go SnapshotRemoval.Validate +core/frontend/chunkstore/layout/commit.go CutTime.Complete core/frontend/chunkstore/layout/commit.go EngineAdapter.Apply +core/frontend/chunkstore/layout/commit.go QueueCap.TakeBack core/frontend/chunkstore/layout/commit.go SnapshotRemoval.Commit +core/frontend/chunkstore/layout/commit.go StaleClean.CommitCheck +core/frontend/chunkstore/layout/commit.go StaleClean.HeadCommit core/frontend/chunkstore/layout/commit.go VolumeCreate.Commit core/frontend/chunkstore/layout/create.go RestoreTarget.CreateHead core/frontend/chunkstore/layout/create.go RestoreTarget.CreateVol @@ -39,14 +77,49 @@ core/frontend/chunkstore/layout/delete.go MoveAdmission.DelMark core/frontend/chunkstore/layout/delete.go MoveAdmission.DelRead core/frontend/chunkstore/layout/delete.go RestoreTarget.OpRelease core/frontend/chunkstore/layout/delete.go RestoreTarget.OpTomb +core/frontend/chunkstore/layout/delete_intent.go CutTime.Complete +core/frontend/chunkstore/layout/delete_intent.go PageChain.CAdvance +core/frontend/chunkstore/layout/delete_intent.go PageChain.CApply +core/frontend/chunkstore/layout/delete_intent.go PageChain.CRead +core/frontend/chunkstore/layout/delete_intent.go PageChain.CResolve +core/frontend/chunkstore/layout/delete_intent.go PageChain.Resend +core/frontend/chunkstore/layout/delete_intent.go PageChain.Send +core/frontend/chunkstore/layout/delete_intent.go PageChain.WritePage +core/frontend/chunkstore/layout/delete_intent.go QueueCap.Consume +core/frontend/chunkstore/layout/delete_intent.go QueueCap.Produce +core/frontend/chunkstore/layout/delete_intent.go VolDelSweep.Land +core/frontend/chunkstore/layout/delete_intent.go VolDelSweep.Stage +core/frontend/chunkstore/layout/format_level.go FormatGate.PublishOp +core/frontend/chunkstore/layout/format_level.go FormatGate.Upgrade1 +core/frontend/chunkstore/layout/head.go CleanBatch.Publish +core/frontend/chunkstore/layout/head.go CleanBatch.Request core/frontend/chunkstore/layout/head.go SnapshotRemoval.Abort core/frontend/chunkstore/layout/head.go SnapshotRemoval.Begin core/frontend/chunkstore/layout/head.go StopAndRestart.Apply core/frontend/chunkstore/layout/head.go StopAndRestart.Begin +core/frontend/chunkstore/layout/list_chain.go CutTime.Complete +core/frontend/chunkstore/layout/list_chain.go PageChain.CAdvance +core/frontend/chunkstore/layout/list_chain.go PageChain.CRead +core/frontend/chunkstore/layout/list_chain.go PageChain.CResolve +core/frontend/chunkstore/layout/list_chain.go PageChain.Resend +core/frontend/chunkstore/layout/list_chain.go PageChain.Send +core/frontend/chunkstore/layout/list_chain.go PageChain.WritePage +core/frontend/chunkstore/layout/list_chain.go QueueCap.Produce +core/frontend/chunkstore/layout/list_chain.go VolDelSweep.Land +core/frontend/chunkstore/layout/list_chain.go VolDelSweep.Stage +core/frontend/chunkstore/layout/maintenance_progress.go CutTime.Complete core/frontend/chunkstore/layout/objects.go SnapshotRemoval.Upload +core/frontend/chunkstore/layout/read.go CutTime.Complete +core/frontend/chunkstore/layout/remove.go CleanBatch.Effects +core/frontend/chunkstore/layout/remove.go CutTime.Complete +core/frontend/chunkstore/layout/remove.go PageChain.Sweep core/frontend/chunkstore/layout/remove.go SnapshotRemoval.Issue core/frontend/chunkstore/layout/remove.go SnapshotRemoval.Stat core/frontend/chunkstore/layout/remove.go SnapshotRemoval.Validate +core/frontend/chunkstore/layout/remove.go StaleClean.DeleteIt +core/frontend/chunkstore/layout/remove.go StaleClean.HeadRead +core/frontend/chunkstore/layout/remove.go StaleClean.MarkIt +core/frontend/chunkstore/layout/remove.go StaleClean.Stat core/frontend/chunkstore/layout/snapshots.go EngineAdapter.OpWrite core/frontend/chunkstore/layout/snapshots.go MoveAdmission.OpWrite core/frontend/chunkstore/layout/snapshots.go RestoreTarget.AddDep @@ -56,16 +129,44 @@ core/frontend/chunkstore/layout/start.go StopAndRestart.CrashRestart core/frontend/chunkstore/layout/start.go VolumeCreate.Claim core/frontend/chunkstore/layout_create.go VolumeCreate.IssueHead core/frontend/chunkstore/layout_create.go VolumeCreate.IssueVol +core/frontend/chunkstore/layout_remote.go CleanBatch.Begin +core/frontend/chunkstore/layout_remote.go CleanBatch.Publish +core/frontend/chunkstore/layout_remote.go CutTime.Complete core/frontend/chunkstore/layout_remote.go EngineAdapter.Begin core/frontend/chunkstore/layout_remote.go EngineAdapter.ReadHead core/frontend/chunkstore/layout_remote.go EngineAdapter.SendCommit core/frontend/chunkstore/layout_remote.go EngineAdapter.SettleAbort core/frontend/chunkstore/layout_remote.go EngineAdapter.TakeAbandon +core/frontend/chunkstore/layout_remote.go FormatGate.Upgrade1 +core/frontend/chunkstore/layout_remote.go PageChain.CRead core/frontend/chunkstore/layout_remote.go StopAndRestart.SendCommit core/frontend/chunkstore/layout_remote.go StopAndRestart.SettleAbort +core/frontend/chunkstore/layout_store.go CleanBatch.Publish +core/frontend/chunkstore/layout_store.go CleanBatch.Request core/frontend/chunkstore/layout_store.go SnapshotRemoval.ApplyDelete core/frontend/chunkstore/layout_store.go SnapshotRemoval.ApplyMark +core/frontend/chunkstore/layout_store.go StaleClean.Adopt +core/frontend/chunkstore/maintenance_request.go CutTime.CallTimeout +core/frontend/chunkstore/retain_b.go CleanBatch.Publish +core/frontend/chunkstore/retain_b.go CleanBatch.Request +core/frontend/chunkstore/retain_b.go CutTime.Complete +core/frontend/chunkstore/snapshot_delete_operation.go FormatGate.AdmitOp +core/frontend/chunkstore/snapshot_delete_operation.go SnapDelete.Send +core/frontend/chunkstore/snapshot_delete_target.go FormatGate.AdmitOp +core/frontend/chunkstore/snapshot_operation.go SnapOps.Retire +core/frontend/chunkstore/snapshot_operation.go SnapOps.Send +core/frontend/chunkstore/snapshot_operation.go SnapOps.TornAdmit +core/frontend/chunkstore/snapshot_operation_guard.go SnapOps.Delete +core/frontend/chunkstore/snapshot_operation_guard.go SnapOps.Publish +core/frontend/chunkstore/snapshot_operation_index.go SnapOps.GC +core/frontend/chunkstore/snapshot_operation_index.go SnapOps.Poll +core/frontend/chunkstore/snapshot_operation_index.go SnapOps.TermFlag core/frontend/chunkstore/swfs.go VolumeCreate.Land +core/frontend/durable/maintenance_progress.go CutTime.Complete +core/frontend/durable/maintenance_progress.go CutTime.Fail +core/frontend/durable/maintenance_progress.go CutTime.Tick +core/frontend/durable/provider_chunk.go CutTime.Admit +core/frontend/durable/provider_chunk.go CutWindow.Fail core/frontend/durable/provider_chunk.go EngineAdapter.SettleResume core/frontend/durable/provider_chunk.go EngineAdapter.StartStop core/frontend/durable/provider_chunk.go HolderInterface.StopBegin @@ -75,18 +176,45 @@ core/frontend/durable/provider_layout.go EngineAdapter.SettleDown core/frontend/durable/provider_layout.go StopAndRestart.SettleDown core/frontend/durable/storage_adapter.go EngineAdapter.GuestWrite core/frontend/durable/storage_adapter.go HolderInterface.Write +core/frontend/durable/storage_adapter.go WALHold.Resubmit +core/frontend/iscsi/scsi.go WALHold.Stall +core/frontend/nvme/io.go WALHold.Stall +core/host/master/format_gate.go FormatGate.Finalize +core/host/master/format_gate.go FormatGate.Grant +core/host/master/format_gate.go FormatGate.Place +core/host/master/format_gate.go FormatGate.Report +core/host/master/format_gate.go FormatGate.Retire core/host/master/layout_ready.go VolumeCreate.Place core/host/master/probe_round.go FencingRound.Deliver core/host/master/probe_round.go FencingRound.Open core/host/master/product_loop.go FencingRound.Decide core/host/master/product_loop.go Promotion.Decide +core/host/master/services.go FormatGate.Report core/host/master/store_attestation.go ReplicationPeer.Attest +core/host/master/workspace_binding.go FormatGate.Grant +core/host/master/workspace_service.go FormatGate.Place core/host/master/workspace_service.go MoveAdmission.ReadForMove core/host/master/workspace_service.go StopAndRestart.ReadClean +core/host/volume/chunk_control.go CutTime.InProgress +core/host/volume/chunk_control.go CutWindow.Fail +core/host/volume/chunk_control.go FormatGate.Upgrade1 +core/host/volume/chunk_control.go SnapOps.Start +core/host/volume/host.go FormatGate.Downgrade +core/host/volume/host.go FormatGate.Upgrade +core/host/volume/manual_cut.go CutTime.Admit +core/host/volume/manual_cut.go CutTime.InProgress +core/host/volume/manual_cut.go CutTime.Poll +core/host/volume/manual_cut.go CutTime.Retire core/host/volume/primary_evidence.go FencingRound.Adopt core/host/volume/primary_evidence.go Promotion.Adopt core/host/volume/primary_evidence.go Promotion.Refuse core/host/volume/probe_round.go FencingRound.Answer +core/host/volume/recovery_watchdog.go RecoveryProgress.Authority +core/host/volume/recovery_watchdog.go RecoveryProgress.Fence +core/host/volume/recovery_watchdog.go RecoveryProgress.Replay +core/host/volume/recovery_watchdog.go RecoveryProgress.Stall +core/host/volume/recovery_watchdog.go RecoveryProgress.ToFence +core/host/volume/snapshot_operation.go SnapOps.Start core/host/volume/workspace_lease.go HolderInterface.Expire core/host/volume/workspace_lease.go MoveAdmission.StopOnExpiry core/host/volume/workspace_lease.go MoveAdmission.Write @@ -107,185 +235,56 @@ core/replication/volume.go Promotion.Write1 core/replication/volume.go Promotion.Write2 core/replication/volume.go ReplicationPeer.Ack core/replication/volume.go ReplicationPeer.Write +core/storage/chunk_coverage.go SlotFence.Publish +core/storage/chunk_coverage_map.go MoveWide2.Write core/storage/chunk_head_belt.go HolderInterface.Fence +core/storage/chunk_layer.go CutTime.Settle +core/storage/chunk_layer.go CutWindow.Publish +core/storage/chunk_layer.go CutWindow.Retry core/storage/chunk_layer.go EngineAdapter.EngineReRead core/storage/chunk_layer.go EngineAdapter.NoOpCut +core/storage/chunk_layer.go FormatGate.Upgrade1 core/storage/chunk_layer.go HolderInterface.Commit core/storage/chunk_layer.go HolderInterface.StopCommit core/storage/chunk_layer.go MoveAdmission.Detach core/storage/chunk_layer.go MoveAdmission.Publish core/storage/chunk_layer.go SnapshotRemoval.Write +core/storage/chunk_manual_cut.go CutTime.Busy +core/storage/chunk_manual_cut.go CutTime.PublishLost +core/storage/chunk_manual_cut.go CutTime.Settle +core/storage/chunk_manual_cut.go CutTime.SettleInherited +core/storage/chunk_manual_cut.go CutTime.SettleStall +core/storage/chunk_manual_cut.go HolderInterface.Fence +core/storage/chunk_public.go FormatGate.Upgrade1 +core/storage/chunk_seam.go FormatGate.Upgrade1 core/storage/chunk_state_upgrade.go SlotFence.Publish core/storage/chunk_state_upgrade.go SlotFence.Sync +core/storage/chunk_upload.go CutWindow.CallTimeout +core/storage/chunk_upload.go CutWindow.Start +core/storage/cut_progress_window.go CutTime.Complete +core/storage/cut_progress_window.go CutWindow.CallTimeout +core/storage/cut_progress_window.go CutWindow.Complete +core/storage/cut_progress_window.go CutWindow.Fail +core/storage/cut_progress_window.go CutWindow.Tick +core/storage/flusher.go WALHold.Reclaim +core/storage/recovery_progress.go RecoveryProgress.Replay +core/storage/wal_admission.go WALHold.Arrive +core/storage/wal_admission_fast.go WALHold.FastArrive +core/storage/wal_admission_fast.go WALHold.FastReEnter +core/storage/wal_admission_fast.go WALHold.FastResubmit +core/storage/wal_admission_fifo.go WALHold.Admit +core/storage/wal_admission_fifo.go WALHold.Arrive +core/storage/wal_admission_fifo.go WALHold.ReEnter +core/storage/wal_hold_window.go WALHold.CapAnswer +core/storage/wal_hold_window.go WALHold.Stall +core/storage/wal_write_hold.go WALHold.CapAnswer +core/storage/wal_write_hold.go WALHold.Stall +core/storage/walstore.go WALHold.Admit +core/storage/walstore_v3.go RecoveryProgress.Fence +core/storage/walstore_v3.go SlotFence2.OpenNew core/transport/catchup_sender.go ReplicationPeer.CatchUp core/transport/rebuild_sender.go ReplicationPeer.Rebuild core/transport/replica.go FencingRound.Recv core/transport/replica.go ReplicationPeer.CatchUp core/transport/replica.go ReplicationPeer.Rebuild core/transport/replica.go ReplicationPeer.Ship -core/storage/chunk_coverage.go SlotFence.Publish -core/storage/chunk_coverage_map.go MoveWide2.Write -core/storage/walstore_v3.go SlotFence2.OpenNew - -core/frontend/chunkstore/snapshot_operation.go SnapOps.Send -core/frontend/chunkstore/snapshot_operation.go SnapOps.TornAdmit -core/frontend/chunkstore/snapshot_operation.go SnapOps.Retire -core/frontend/chunkstore/snapshot_operation_index.go SnapOps.TermFlag -core/frontend/chunkstore/snapshot_operation_index.go SnapOps.GC -core/frontend/chunkstore/snapshot_operation_index.go SnapOps.Poll -core/frontend/chunkstore/snapshot_operation_guard.go SnapOps.Publish -core/frontend/chunkstore/snapshot_operation_guard.go SnapOps.Delete -core/host/volume/chunk_control.go SnapOps.Start -cmd/sw-block/snapshot_operation.go SnapOps.Send -core/host/volume/snapshot_operation.go SnapOps.Start -cmd/blockvolume/snapshot_operation_shutdown.go SnapOps.Stall -core/frontend/chunkstore/snapshot_delete_operation.go SnapDelete.Send -core/storage/wal_admission_fast.go WALHold.FastArrive -core/storage/wal_admission_fast.go WALHold.FastReEnter -core/storage/wal_admission_fast.go WALHold.FastResubmit -core/storage/wal_admission.go WALHold.Arrive -core/storage/wal_admission_fifo.go WALHold.Arrive -core/storage/wal_admission_fifo.go WALHold.ReEnter -core/storage/wal_admission_fifo.go WALHold.Admit -core/storage/walstore.go WALHold.Admit -core/frontend/durable/storage_adapter.go WALHold.Resubmit -core/storage/flusher.go WALHold.Reclaim -core/storage/wal_hold_window.go WALHold.Stall -core/storage/wal_write_hold.go WALHold.Stall -core/storage/wal_hold_window.go WALHold.CapAnswer -core/storage/wal_write_hold.go WALHold.CapAnswer -core/frontend/nvme/io.go WALHold.Stall -core/frontend/iscsi/scsi.go WALHold.Stall -core/host/master/format_gate.go FormatGate.Finalize -core/host/master/format_gate.go FormatGate.Place -core/host/master/workspace_service.go FormatGate.Place -core/host/master/format_gate.go FormatGate.Grant -core/host/master/workspace_binding.go FormatGate.Grant -core/host/master/format_gate.go FormatGate.Report -core/host/master/services.go FormatGate.Report -core/host/master/format_gate.go FormatGate.Retire -core/host/volume/host.go FormatGate.Upgrade -core/host/volume/host.go FormatGate.Downgrade -core/frontend/chunkstore/layout/format_level.go FormatGate.Upgrade1 -core/frontend/chunkstore/layout/format_level.go FormatGate.PublishOp -core/frontend/chunkstore/snapshot_delete_target.go FormatGate.AdmitOp -core/frontend/chunkstore/snapshot_delete_operation.go FormatGate.AdmitOp -core/storage/recovery_progress.go RecoveryProgress.Replay -core/host/volume/recovery_watchdog.go RecoveryProgress.Replay -core/storage/walstore_v3.go RecoveryProgress.Fence -core/host/volume/recovery_watchdog.go RecoveryProgress.Fence -core/host/volume/recovery_watchdog.go RecoveryProgress.ToFence -core/host/volume/recovery_watchdog.go RecoveryProgress.Authority -core/host/volume/recovery_watchdog.go RecoveryProgress.Stall -core/frontend/chunkstore/layout/delete_intent.go PageChain.WritePage -core/frontend/chunkstore/layout/list_chain.go PageChain.WritePage -core/frontend/chunkstore/layout/delete_intent.go PageChain.Send -core/frontend/chunkstore/layout/list_chain.go PageChain.Send -core/frontend/chunkstore/layout/delete_intent.go PageChain.Resend -core/frontend/chunkstore/layout/list_chain.go PageChain.Resend -core/frontend/chunkstore/layout/delete_intent.go PageChain.CRead -core/frontend/chunkstore/layout/list_chain.go PageChain.CRead -core/frontend/chunkstore/layout/delete_intent.go PageChain.CApply -core/frontend/chunkstore/layout/delete_intent.go PageChain.CAdvance -core/frontend/chunkstore/layout/list_chain.go PageChain.CAdvance -core/frontend/chunkstore/layout/delete_intent.go PageChain.CResolve -core/frontend/chunkstore/layout/list_chain.go PageChain.CResolve -core/frontend/chunkstore/clean_intent_b.go PageChain.CRead -core/frontend/chunkstore/layout_remote.go PageChain.CRead -core/frontend/chunkstore/layout/remove.go PageChain.Sweep -core/frontend/chunkstore/clean_b.go PageChain.Sweep -core/frontend/chunkstore/layout/remove.go StaleClean.Stat -core/frontend/chunkstore/layout/remove.go StaleClean.HeadRead -core/frontend/chunkstore/layout/remove.go StaleClean.MarkIt -core/frontend/chunkstore/layout/remove.go StaleClean.DeleteIt -core/frontend/chunkstore/layout_store.go StaleClean.Adopt -core/frontend/chunkstore/layout/commit.go StaleClean.HeadCommit -core/frontend/chunkstore/layout/commit.go StaleClean.CommitCheck -core/frontend/chunkstore/layout/delete_intent.go QueueCap.Produce -core/frontend/chunkstore/layout/list_chain.go QueueCap.Produce -core/frontend/chunkstore/layout/delete_intent.go QueueCap.Consume -core/frontend/chunkstore/clean_intent_b.go QueueCap.Consume -core/frontend/chunkstore/layout/commit.go QueueCap.TakeBack -core/frontend/chunkstore/layout/delete_intent.go VolDelSweep.Stage -core/frontend/chunkstore/layout/delete_intent.go VolDelSweep.Land -core/frontend/chunkstore/layout/list_chain.go VolDelSweep.Stage -core/frontend/chunkstore/layout/list_chain.go VolDelSweep.Land -core/frontend/durable/maintenance_progress.go CutTime.Complete -core/frontend/durable/maintenance_progress.go CutTime.Fail -core/frontend/durable/maintenance_progress.go CutTime.Tick -core/frontend/chunkstore/maintenance_request.go CutTime.CallTimeout -core/frontend/chunkstore/layout/maintenance_progress.go CutTime.Complete -core/frontend/chunkstore/layout/remove.go CutTime.Complete -core/frontend/chunkstore/retain_b.go CutTime.Complete -core/frontend/chunkstore/layout/read.go CutTime.Complete -core/frontend/chunkstore/layout/list_chain.go CutTime.Complete -core/frontend/chunkstore/clean_b.go CutTime.Complete -core/frontend/chunkstore/layout/delete_intent.go CutTime.Complete -core/frontend/chunkstore/layout_remote.go CutTime.Complete -core/frontend/chunkstore/clean_b.go SnapshotRemoval.BeginClean -core/frontend/chunkstore/clean_b.go SnapshotRemoval.EndClean -core/frontend/chunkstore/clean_b.go StaleClean.HeadRead -core/frontend/chunkstore/layout/clean_batch.go SnapshotRemoval.Validate -core/frontend/chunkstore/layout/clean_batch.go SnapshotRemoval.EndClean -core/frontend/chunkstore/clean_b.go CleanBatch.PrepOut -core/frontend/chunkstore/clean_b.go CleanBatch.Close -core/frontend/chunkstore/clean_b.go CleanBatch.Effects -core/frontend/chunkstore/clean_admission.go CleanBatch.Request -core/frontend/chunkstore/clean_admission.go CleanBatch.Begin -core/frontend/chunkstore/catalog_snapshot_operation.go CleanBatch.Publish -core/frontend/chunkstore/layout_remote.go CleanBatch.Publish -core/frontend/chunkstore/layout/clean_batch.go CleanBatch.PrepOut -core/frontend/chunkstore/layout/remove.go CleanBatch.Effects -core/frontend/chunkstore/clean_b.go CleanBatch.BeginIn -core/frontend/chunkstore/clean_b.go CleanBatch.PrepIn -core/frontend/chunkstore/layout/clean_batch.go CleanBatch.PrepIn -core/frontend/chunkstore/catalog_b.go CleanBatch.Request -core/frontend/chunkstore/catalog_b.go CleanBatch.Publish -core/frontend/chunkstore/retain_b.go CleanBatch.Request -core/frontend/chunkstore/retain_b.go CleanBatch.Publish -core/frontend/chunkstore/clean_intent_b.go CleanBatch.Request -core/frontend/chunkstore/clean_intent_b.go CleanBatch.Publish -core/frontend/chunkstore/layout_remote.go CleanBatch.Begin -core/frontend/chunkstore/clean_admission.go CleanBatch.Close -core/frontend/chunkstore/layout_store.go CleanBatch.Request -core/frontend/chunkstore/layout_store.go CleanBatch.Publish -core/frontend/chunkstore/layout/head.go CleanBatch.Request -core/frontend/chunkstore/layout/head.go CleanBatch.Publish -core/storage/cut_progress_window.go CutWindow.Complete -core/storage/cut_progress_window.go CutTime.Complete -core/storage/cut_progress_window.go CutWindow.Tick -core/storage/cut_progress_window.go CutWindow.Fail -core/storage/chunk_upload.go CutWindow.Start -core/storage/chunk_upload.go CutWindow.CallTimeout -core/storage/chunk_layer.go CutWindow.Retry -core/storage/chunk_layer.go CutWindow.Publish -core/frontend/durable/provider_chunk.go CutWindow.Fail -core/host/volume/chunk_control.go CutWindow.Fail -core/frontend/chunkstore/cut_verification_window.go CutWindow.CallTimeout -cmd/sw-block/cut_progress_poll.go CutTime.Poll -cmd/sw-block/cut_progress_poll.go CutTime.CliSilent -cmd/sw-block/cut_progress_poll.go CutTime.CliGiveUp -cmd/sw-block/cut_progress_poll.go CutTime.HolderRestart -cmd/sw-block/chunk.go CutTime.Poll -core/frontend/chunkstore/layout/commit.go CutTime.Complete -core/frontend/chunkstore/cut_verification_window.go CutTime.Complete -core/host/volume/manual_cut.go CutTime.Admit -core/host/volume/manual_cut.go CutTime.InProgress -core/host/volume/manual_cut.go CutTime.Poll -core/host/volume/manual_cut.go CutTime.Retire -core/storage/chunk_manual_cut.go CutTime.Busy -core/frontend/durable/provider_chunk.go CutTime.Admit -core/host/volume/chunk_control.go CutTime.InProgress -core/storage/chunk_manual_cut.go CutTime.PublishLost -core/storage/chunk_manual_cut.go CutTime.Settle -core/storage/chunk_manual_cut.go CutTime.SettleStall -core/storage/chunk_layer.go CutTime.Settle -cmd/sw-block/cut_progress_poll.go CutTime.CliServerUnknown -core/storage/chunk_manual_cut.go HolderInterface.Fence -core/storage/chunk_manual_cut.go CutTime.SettleInherited -core/storage/cut_progress_window.go CutWindow.CallTimeout -core/frontend/chunkstore/layout_remote.go FormatGate.Upgrade1 -core/storage/chunk_layer.go FormatGate.Upgrade1 -core/storage/chunk_seam.go FormatGate.Upgrade1 -core/storage/chunk_public.go FormatGate.Upgrade1 -core/host/volume/chunk_control.go FormatGate.Upgrade1 diff --git a/seaweed-block/.github/scripts/model-trace-check-test.py b/seaweed-block/.github/scripts/model-trace-check-test.py index cb6d35f58f..7020ea3a68 100644 --- a/seaweed-block/.github/scripts/model-trace-check-test.py +++ b/seaweed-block/.github/scripts/model-trace-check-test.py @@ -35,6 +35,19 @@ class ModelTraceTests(unittest.TestCase): def test_unmapped_files_keep_existing_policy(self): self.assertEqual(checker.check("existing prose", ["docs/a.md", "core/a.go.bak"], self.mapping), []) + def test_line_only_rebase_keeps_committed_mapping_and_obligations(self): + with tempfile.TemporaryDirectory() as tmp: + source = Path(tmp) / "a.go" + mapping = Path(tmp) / "model-code-trace.tsv" + mapping.write_text("core/a.go\tEngineAdapter.Begin\n", encoding="utf-8") + committed = mapping.read_bytes() + for padding in ("", "// unrelated rebase\n\n\n"): + source.write_text(padding + "package a\nfunc begin() {}\n", encoding="utf-8") + actual = checker.read_mapping(mapping) + self.assertEqual(checker.check("EngineAdapter.Begin", ["core/a.go"], actual), []) + self.assertEqual(len(checker.check("Other.Begin", ["core/a.go"], actual)), 1) + self.assertEqual(mapping.read_bytes(), committed) + def test_repository_map_covers_claimed_head_create(self): mapping = checker.read_mapping(SCRIPT.parent.parent / "model-code-trace.tsv") paths = ["core/frontend/chunkstore/layout/create.go"] @@ -72,6 +85,36 @@ class ModelTraceTests(unittest.TestCase): with self.assertRaises(ValueError): checker.read_mapping(mapping) + def test_mapping_requires_sorted_unique_rows_after_a_union(self): + with tempfile.TemporaryDirectory() as tmp: + mapping = Path(tmp) / "map.tsv" + a = "core/a.go\tEngineAdapter.Begin\n" + b = "core/b.go\tMoveAdmission.Revoke\n" + for content in (b + a, a + a): + with self.subTest(content=content): + mapping.write_text(content, encoding="utf-8") + with self.assertRaisesRegex(ValueError, "sorted and unique"): + checker.read_mapping(mapping) + mapping.write_text(a + b, encoding="utf-8") + self.assertEqual(set(checker.read_mapping(mapping)), {"core/a.go", "core/b.go"}) + + def test_union_merge_retains_concurrent_model_rows(self): + with tempfile.TemporaryDirectory() as tmp: + paths = [Path(tmp) / name for name in ("ours", "base", "theirs")] + a = "core/a.go\tEngineAdapter.Begin\n" + b = "core/b.go\tMoveAdmission.Revoke\n" + c = "core/c.go\tVolumeCreate.Claim\n" + for path, content in zip(paths, (a + b, a, a + c)): + path.write_text(content, encoding="utf-8") + merged = subprocess.run(["git", "merge-file", "--union", "-p", *map(str, paths)], + capture_output=True, check=True, text=True).stdout + self.assertEqual(set(merged.splitlines()), {a.strip(), b.strip(), c.strip()}) + paths[0].write_text("\n".join(sorted(set(merged.splitlines()))) + "\n", encoding="utf-8") + self.assertEqual(set(checker.read_mapping(paths[0])), {"core/a.go", "core/b.go", "core/c.go"}) + attr = subprocess.run(["git", "check-attr", "merge", "--", ".github/model-code-trace.tsv"], + cwd=SCRIPT.parent.parent.parent, capture_output=True, check=True, text=True) + self.assertEqual(attr.stdout.strip(), ".github/model-code-trace.tsv: merge: union") + if __name__ == "__main__": unittest.main() diff --git a/seaweed-block/.github/scripts/model-trace-check.py b/seaweed-block/.github/scripts/model-trace-check.py index cec3ecc1a4..d3d9da064a 100644 --- a/seaweed-block/.github/scripts/model-trace-check.py +++ b/seaweed-block/.github/scripts/model-trace-check.py @@ -11,6 +11,7 @@ PURE = re.compile(rf"NONE \(pure function of ({IDENT})\)") def read_mapping(path): mapping = {} + previous = None for number, line in enumerate(Path(path).read_text(encoding="utf-8").splitlines(), 1): if not line.strip() or line.startswith("#"): continue @@ -25,6 +26,9 @@ def read_mapping(path): raise ValueError(f"mapping line {number}: expected a repository-relative exact path") if not ACTION.fullmatch(action): raise ValueError(f"mapping line {number}: invalid Module.Action") + if previous is not None and line <= previous: + raise ValueError(f"mapping line {number}: rows must be sorted and unique; sort and deduplicate the union") + previous = line mapping.setdefault(file, set()).add(action) if not mapping: raise ValueError("model mapping is empty; populate it before enabling this gate") diff --git a/seaweed-block/docs/time-bounds.tsv b/seaweed-block/docs/time-bounds.tsv index e7c038c29a..9f78e82c19 100644 --- a/seaweed-block/docs/time-bounds.tsv +++ b/seaweed-block/docs/time-bounds.tsv @@ -1,277 +1,277 @@ # Fixed time bounds in core/ and cmd/ (non-test code). Kept in step with the code by -# internal/timebound: every bound site has one row; line numbers refresh with TIME_BOUNDS_UPDATE=1. +# internal/timebound: every bound site has one row; locations are scanned in CI, never committed. # A new bound names its class and model row here. Classes: per-call, no-progress-window, # availability-contract, control-timer, pending-fix (names its fix PR or the measurement owed; none at the v1.1 tag), # ruled-total (a fixed total accepted for v1.1 by measurement at the cap, or on a refused path). -path func kind n line class model note -cmd/blockcsi/main.go run context.WithTimeout 1 214 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockmaster/main.go run context.WithTimeout 1 380 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 1 863 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 2 870 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 3 891 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 4 933 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 5 950 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 6 999 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 7 1017 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 8 1092 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 9 1112 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 10 1124 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 11 1160 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 12 1189 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 13 1270 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 14 1313 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 15 1379 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 16 1453 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go runVolume context.WithTimeout 17 1529 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/main.go waitFaultedDurableRecovery context.WithTimeout 1 1700 per-call NONE: no model row maps this file yet one shutdown or startup step -cmd/blockvolume/process_exit.go superviseProcess time.NewTimer 1 116 availability-contract NONE: no model row maps this file yet exit drain bounded by the workspace drain timeout -cmd/blockvolume/process_exit.go finishWorkspaceLease time.After 1 259 availability-contract NONE: no model row maps this file yet lease closeout on exit, bounded -cmd/blockvolume/ready_latch.go handleReadyAssignment context.WithTimeout 1 62 per-call NONE: no model row maps this file yet one RPC or request -cmd/blockvolume/snapshot_operation_shutdown.go stopSnapshotOperationsForShutdown context.WithTimeout 1 15 per-call SnapOps.Stall one RPC or request -cmd/sparrow/main.go shutdownServer context.WithTimeout 1 326 per-call NONE: no model row maps this file yet test-harness binary: one bounded step -cmd/sparrow/main.go waitForMode time.Now().Add 1 332 per-call NONE: no model row maps this file yet test-harness binary: one bounded wait -cmd/sparrow/s5_bootstrap.go runS5Bootstrap context.WithTimeout 1 54 per-call NONE: no model row maps this file yet test-harness binary: one bounded step -cmd/sparrow/s7_restart_smoke.go runS7RestartSmoke context.WithTimeout 1 69 per-call NONE: no model row maps this file yet test-harness binary: one bounded step -cmd/sparrow/s7_restart_smoke.go runS7RestartSmoke time.Now().Add 1 84 per-call NONE: no model row maps this file yet test-harness binary: one bounded wait -cmd/sw-block/catalog_snapshot_operation.go chunkCatalogSnapshotDeleteAnswer time.After 1 49 control-timer NONE: no model row maps this file yet retry pause inside the snapshot-delete command's window -cmd/sw-block/chunk.go refuseUnlessSingleFilerWithin context.WithTimeout 1 68 per-call CutTime.Poll the single-filer start check, bounded by --timeout and by its caller's pass -cmd/sw-block/chunk.go chunkPost time.Now().Add 1 155 pending-fix CutTime.Poll remaining snapshot/detach HTTP waiter bound; fix #979 (manual cuts use chunkObserveCut) -cmd/sw-block/chunk.go chunkPostUntil context.WithDeadline 1 170 pending-fix CutTime.Poll remaining snapshot/detach HTTP waiter bound; fix #979 (manual cuts use chunkObserveCut) -cmd/sw-block/chunk.go chunkSnapshot time.Now().Add 1 291 control-timer CutTime.Poll snapshot expiry: a timestamp (validity, expiry or due time), not a wait -cmd/sw-block/chunk_b.go volumeFlags.ref context.WithTimeout 1 103 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/chunk_b.go bCommand.run context.WithTimeout 1 164 pending-fix NONE: no model row maps this file yet unmeasured: applies each catalog command's own budget (its newBCommand row); open while snapshot delete and retain are unmeasured -cmd/sw-block/chunk_b.go chunkSnapshots newBCommand 1 180 per-call NONE: no model row maps this file yet lists one volume's snapshot names from one HEAD read (30 s) -cmd/sw-block/chunk_b.go snapshotDeleteFormatLevel context.WithTimeout 1 221 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/chunk_b.go chunkSnapshotDelete newBCommand 1 256 pending-fix NONE: no model row maps this file yet unmeasured: a snapshot delete stages intents across the snapshot's chunks under 30 s; a measurement at the cap or a window is owed -cmd/sw-block/chunk_b.go chunkShowContext newBCommand 1 321 per-call NONE: no model row maps this file yet one volume record and one HEAD read (30 s) -cmd/sw-block/chunk_b.go chunkUsage newBCommand 1 352 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "at the 1 TiB cap usage took 8.45 s against its 60 s default" -cmd/sw-block/chunk_b.go chunkRestore newBCommand 1 366 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "it took 0.42 s at the 1 TiB cap" -cmd/sw-block/chunk_b.go chunkRestore context.WithTimeout 1 382 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "it took 0.42 s at the 1 TiB cap" -cmd/sw-block/chunk_b.go chunkRelease newBCommand 1 419 per-call NONE: no model row maps this file yet releases one restore target from its source (30 s) -cmd/sw-block/chunk_b.go chunkRetain newBCommand 1 477 pending-fix NONE: no model row maps this file yet unmeasured: retain retires expired snapshots under 5 min; a measurement at the cap or a window is owed -cmd/sw-block/chunk_diag.go diagWriter.close time.NewTimer 1 68 per-call NONE: no model row maps this file yet drain of one diagnostics writer on close -cmd/sw-block/chunk_loop.go chunkPostLoop time.Now().Add 1 72 pending-fix NONE: no model row maps this file yet CLI cut retry loop's one absolute end; fix #964 -cmd/sw-block/chunk_loop.go chunkStats context.WithDeadline 1 181 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/chunk_verify.go chunkVerify context.WithTimeoutCause 1 94 availability-contract NONE: no model row maps this file yet the operator's optional --deadline (off by default), an absolute total the operator chooses -cmd/sw-block/chunk_verify.go chunkVerify watchVerifyProgress 1 97 no-progress-window NONE: no model row maps this file yet verify's --timeout: the pass ends only after that long with no object read completed (each read renews it) -cmd/sw-block/chunk_volume_delete.go chunkVolumeDelete newBCommand 1 35 no-progress-window NONE: no model row maps this file yet growing command: no total; the budget is one sweep and the no-progress window -cmd/sw-block/chunk_volume_delete.go deleteVolumeWithProgress context.WithDeadline 1 150 no-progress-window NONE: no model row maps this file yet batch deadline min(now+bound, last progress+bound): renewed by sweep progress -cmd/sw-block/chunk_volume_delete.go deleteVolumeWithProgress time.NewTimer 1 203 control-timer NONE: no model row maps this file yet poll or delay timer -cmd/sw-block/cluster_format.go runClusterFormatLevel context.WithTimeout 1 75 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/cluster_format.go runClusterFinalizeFormat context.WithTimeout 1 158 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/cluster_format.go runClusterRetireHost context.WithTimeout 1 295 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/cut_progress_poll.go chunkObserveCut context.WithDeadline 1 61 no-progress-window CutTime.Poll; CutTime.CliSilent observation deadline renewed only by a strict sequence rise, or shortened by the user-chosen absolute deadline -cmd/sw-block/failover.go runOpsFailover context.WithTimeout 1 102 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/log_collect.go inspectionShell.collectLogs context.WithTimeout 1 197 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go runOpsStatus context.WithTimeout 1 904 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go runOpsInventory context.WithTimeout 1 961 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go loadObservationCluster context.WithTimeout 1 1091 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go loadObservationCluster context.WithTimeout 2 1102 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go enrichLiveObservationCluster context.WithTimeout 1 1144 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go applyCleanupSummaryProjection context.WithTimeout 1 1169 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go runOpsReport context.WithTimeout 1 1448 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go runOpsReport context.WithTimeout 2 1459 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go runOpsDashboard http.Server.ReadHeaderTimeout 1 1568 per-call NONE: no model row maps this file yet one HTTP request or connection -cmd/sw-block/main.go runOpsDashboard time.NewTimer 1 1583 control-timer NONE: no model row maps this file yet poll or delay timer -cmd/sw-block/main.go runOpsDashboard context.WithTimeout 1 1593 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go loadDashboardCluster context.WithTimeout 1 1637 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go loadDashboardCluster context.WithTimeout 2 1649 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go runOpsGenerateHelmValues context.WithTimeout 1 1872 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/main.go loadObservationVolume context.WithTimeout 1 2222 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/mini.go miniRun.ready time.Now().Add 1 294 per-call NONE: no model row maps this file yet mini cluster start wait -cmd/sw-block/mini.go miniRun.ready time.After 1 317 control-timer NONE: no model row maps this file yet start-wait poll -cmd/sw-block/mini.go miniRun.stop time.After 1 346 per-call NONE: no model row maps this file yet mini cluster stop wait -cmd/sw-block/mini.go mini time.Now().Add 1 523 per-call NONE: no model row maps this file yet mini cluster resolve wait -cmd/sw-block/mini.go mini context.WithTimeout 1 525 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/mini.go mini time.After 1 540 control-timer NONE: no model row maps this file yet resolve-wait poll -cmd/sw-block/mini.go mini time.After 2 568 control-timer NONE: no model row maps this file yet resolve-wait poll -cmd/sw-block/shell.go inspectionShell.execute context.WithTimeout 1 206 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/shell_check.go inspectionShell.check context.WithTimeout 1 123 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/snapshot_operation.go chunkObserveSnapshot context.WithTimeout 1 66 per-call SnapOps.Send one CLI request (operator --timeout) -cmd/sw-block/snapshot_operation.go chunkObserveSnapshot time.NewTimer 1 113 control-timer SnapOps.Send poll or delay timer -cmd/sw-block/volume_backup.go volumeSnapshot context.WithTimeout 1 136 pending-fix RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) -cmd/sw-block/volume_backup.go volumeSnapshot set.Timeout 1 145 pending-fix RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) -cmd/sw-block/volume_backup.go volumeRestore context.WithTimeout 1 286 ruled-total RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start docs/releases/v1.1.md: "it took 0.42 s at the 1 TiB cap" -cmd/sw-block/volume_backup.go volumeRestoreAbort context.WithTimeout 1 381 per-call RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start one CLI request (operator --timeout) -cmd/sw-block/volume_create.go runOpsVolumeCreate context.WithTimeout 1 60 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/volume_resolve.go runOpsVolume context.WithTimeout 1 37 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/volume_verbs.go runVolume http.Client.Timeout 1 132 per-call NONE: no model row maps this file yet one HTTP request -cmd/sw-block/volume_verbs.go volumeStart time.Now().Add 1 305 per-call NONE: no model row maps this file yet volume start: the operator's --wait for it to serve -cmd/sw-block/volume_verbs.go volumeStart time.After 1 319 control-timer NONE: no model row maps this file yet volume start poll -cmd/sw-block/volume_verbs.go volumeCut context.WithTimeout 1 568 pending-fix NONE: no model row maps this file yet a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) -cmd/sw-block/volume_verbs.go volumeCut set.Timeout 1 580 pending-fix NONE: no model row maps this file yet a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) -cmd/sw-block/workspace.go runWorkspaceForceMove context.WithTimeout 1 205 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/workspace.go runWorkspaceLostRange context.WithTimeout 1 356 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/workspace_clean.go runWorkspaceCleanMove context.WithTimeout 1 60 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/workspace_revoke.go runWorkspaceRevoke context.WithTimeout 1 50 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -cmd/sw-block/workspace_show.go runWorkspaceShow context.WithTimeout 1 37 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) -core/adapter/adapter.go VolumeReplicaAdapter.armFenceWatchdog time.AfterFunc 1 285 availability-contract NONE: no model row maps this file yet fence watchdog: a fence that never answers fails typed -core/adapter/adapter.go VolumeReplicaAdapter.armStartWatchdog time.AfterFunc 1 638 availability-contract NONE: no model row maps this file yet start watchdog: a start that never answers fails typed -core/auth/audit.go AuditLog.attempt time.NewTimer 1 164 per-call NONE: no model row maps this file yet one audit record write -core/auth/authtest/certs.go NewCA time.Now().Add 1 50 control-timer NONE: no model row maps this file yet test CA certificate validity: a timestamp (validity, expiry or due time), not a wait -core/auth/authtest/certs.go NewCA time.Now().Add 2 51 control-timer NONE: no model row maps this file yet test CA certificate validity: a timestamp (validity, expiry or due time), not a wait -core/auth/authtest/certs.go CA.Issue time.Now().Add 1 82 control-timer NONE: no model row maps this file yet test certificate validity: a timestamp (validity, expiry or due time), not a wait -core/authority/directive.go StaticDirective.Next time.After 1 211 control-timer NONE: no model row maps this file yet directive poll -core/authority/observation_host.go ObservationHost.run time.NewTimer 1 265 control-timer NONE: no model row maps this file yet next observation deadline -core/authority/observation_host.go ObservationHost.run time.Now().Add 1 268 control-timer NONE: no model row maps this file yet next observation time: a timestamp (validity, expiry or due time), not a wait -core/calibration/harness.go harness.waitForDecisionFinal time.Now().Add 1 105 per-call NONE: no model row maps this file yet calibration harness: one bounded wait -core/csi/controller.go ControllerServer.waitForControllerMultipathPublishContext time.NewTimer 1 157 per-call NONE: no model row maps this file yet one bounded wait -core/csi/kubernetes_metadata.go newInClusterKubernetesClient http.Client.Timeout 1 78 per-call NONE: no model row maps this file yet one HTTP request -core/csi/linux_util.go realISCSIUtil.GetDeviceByIQN time.After 1 87 per-call NONE: no model row maps this file yet one iSCSI device discovery wait -core/csi/linux_util.go realISCSIUtil.GetMultipathDeviceByIQN time.After 1 122 per-call NONE: no model row maps this file yet one multipath device discovery wait -core/csi/linux_util.go refreshMultipathMaps context.WithTimeout 1 143 per-call NONE: no model row maps this file yet one RPC or request -core/csi/linux_util.go iscsiMultipathDeviceForIQN context.WithTimeout 1 154 per-call NONE: no model row maps this file yet one RPC or request -core/csi/linux_util.go realNVMeUtil.GetDeviceByNQN time.After 1 387 per-call NONE: no model row maps this file yet one NVMe device discovery wait -core/csi/node.go NodeServer.waitForNVMePathsConnected time.NewTimer 1 699 per-call NONE: no model row maps this file yet one bounded wait -core/csi/node.go NodeServer.reportCSIReattachObserved context.WithTimeout 1 759 per-call NONE: no model row maps this file yet one RPC or request -core/csi/node.go NodeServer.waitForISCSIMultipathPublishContext time.NewTimer 1 1067 per-call NONE: no model row maps this file yet one bounded wait -core/csi/node.go NodeServer.waitForNVMeMultipathPublishContext time.NewTimer 1 1108 per-call NONE: no model row maps this file yet one bounded wait -core/frontend/chunkstore/catalog_snapshot_operation.go BCatalog.RunSnapshotDeleteOperation context.WithTimeout 1 60 per-call CleanBatch.Publish one settle step after a snapshot delete -core/frontend/chunkstore/clean_b.go BCatalog.RemoveUnreachableAll context.WithDeadline 1 148 control-timer CleanBatch.BeginIn; CleanBatch.Close; CleanBatch.Effects; CleanBatch.PrepIn; CleanBatch.PrepOut; CutTime.Complete; PageChain.Sweep; SnapshotRemoval.BeginClean; SnapshotRemoval.EndClean; StaleClean.HeadRead clean batch session hold (5 s): bounds one batch's read-only preparation; the session is closed and the pass resumes at its cursor, no total over the pass -core/frontend/chunkstore/clean_b.go BCatalog.RemoveUnreachableAll time.After 1 220 control-timer CleanBatch.BeginIn; CleanBatch.Close; CleanBatch.Effects; CleanBatch.PrepIn; CleanBatch.PrepOut; CutTime.Complete; PageChain.Sweep; SnapshotRemoval.BeginClean; SnapshotRemoval.EndClean; StaleClean.HeadRead pause between clean batches, outside the session -core/frontend/chunkstore/clean_b.go endCleanBatch time.After 1 399 control-timer CleanBatch.BeginIn; CleanBatch.Close; CleanBatch.Effects; CleanBatch.PrepIn; CleanBatch.PrepOut; CutTime.Complete; PageChain.Sweep; SnapshotRemoval.BeginClean; SnapshotRemoval.EndClean; StaleClean.HeadRead retry pause for a clean batch's close -core/frontend/chunkstore/layout/delete_intent.go StageSnapshotDeletePage context.WithTimeout 1 41 per-call PageChain.CAdvance; PageChain.CApply; PageChain.CRead; PageChain.CResolve; PageChain.Resend; PageChain.Send; PageChain.WritePage; QueueCap.Consume; QueueCap.Produce; VolDelSweep.Land; VolDelSweep.Stage staging one list page: one HEAD read and one page write (ListStageRequestTimeout) -core/frontend/chunkstore/layout/delete_intent.go adoptDeleteIntentPage context.WithTimeout 1 87 per-call PageChain.CAdvance; PageChain.CApply; PageChain.CRead; PageChain.CResolve; PageChain.Resend; PageChain.Send; PageChain.WritePage; QueueCap.Consume; QueueCap.Produce; VolDelSweep.Land; VolDelSweep.Stage staging one list page: one HEAD read and one page write (ListStageRequestTimeout) -core/frontend/chunkstore/layout/list_chain.go StageListPage context.WithTimeout 1 131 per-call PageChain.CAdvance; PageChain.CRead; PageChain.CResolve; PageChain.Resend; PageChain.Send; PageChain.WritePage; QueueCap.Produce; VolDelSweep.Land; VolDelSweep.Stage staging one list page: one HEAD read and one page write (ListStageRequestTimeout) -core/frontend/chunkstore/layout_remote.go walkSegments context.WithTimeout 1 453 per-call EngineAdapter.Begin; EngineAdapter.ReadHead; EngineAdapter.SendCommit; EngineAdapter.SettleAbort; EngineAdapter.TakeAbandon; PageChain.CRead; StopAndRestart.SendCommit; StopAndRestart.SettleAbort one segment fetch (attach), with reported progress -core/frontend/chunkstore/layout_remote.go attachFetchBound context.WithTimeout 1 528 per-call EngineAdapter.Begin; EngineAdapter.ReadHead; EngineAdapter.SendCommit; EngineAdapter.SettleAbort; EngineAdapter.TakeAbandon; PageChain.CRead; StopAndRestart.SendCommit; StopAndRestart.SettleAbort one attach fetch -core/frontend/chunkstore/layout_remote.go headStep context.WithTimeout 1 750 per-call EngineAdapter.Begin; EngineAdapter.ReadHead; EngineAdapter.SendCommit; EngineAdapter.SettleAbort; EngineAdapter.TakeAbandon; PageChain.CRead; StopAndRestart.SendCommit; StopAndRestart.SettleAbort one conditional HEAD exchange -core/frontend/chunkstore/maintenance_request.go maintenanceCall context.WithTimeout 1 23 per-call CutTime.CallTimeout one maintenance read request -core/frontend/chunkstore/maintenance_request.go maintenanceCall time.After 1 35 control-timer CutTime.CallTimeout retry pause after a timed-out maintenance read -core/frontend/chunkstore/maintenance_request.go maintenanceMutation context.WithTimeout 1 51 per-call CutTime.CallTimeout one maintenance mutation request -core/frontend/chunkstore/single_filer.go SWFS.CheckSingleFiler context.WithTimeout 1 45 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/chunkstore/single_filer.go SWFS.CheckSingleFiler time.After 1 73 control-timer NONE: no model row maps this file yet single-filer check retry pause -core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 1 95 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 2 118 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 3 129 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 4 142 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes context.WithTimeout 1 60 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each -core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes time.NewTimer 1 83 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each -core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes context.WithTimeout 2 92 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each -core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes context.WithTimeout 3 99 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each -core/frontend/chunkstore/startup_head_probe.go BCatalog.checkConditionalHead context.WithTimeout 1 110 per-call NONE: no model row maps this file yet one conditional HEAD probe at startup -core/frontend/chunkstore/startup_head_probe.go BCatalog.checkConditionalHead context.WithTimeout 2 129 per-call NONE: no model row maps this file yet one conditional HEAD probe at startup -core/frontend/chunkstore/swfs.go newBlobHTTPClient http.Client.Timeout 1 93 per-call VolumeCreate.Land one HTTP request -core/frontend/durable/chunk_snapshot_schedule.go DurableProvider.chunkSnapshotLoop time.NewTimer 1 288 control-timer NONE: no model row maps this file yet snapshot schedule timer -core/frontend/durable/chunk_snapshot_schedule.go DurableProvider.chunkSnapshotLoop boundedPass 1 318 no-progress-window NONE: no model row maps this file yet zero total timeout: joins authority watcher under the shared completed-cut-step progress window -core/frontend/durable/hold_kzhold.go DurableProvider.HoldBeforeChunkFreshRetireForTest time.Now().Add 1 21 per-call NONE: no model row maps this file yet a test seam's bounded hold -core/frontend/durable/maintenance_progress.go maintenancePass time.AfterFunc 1 29 no-progress-window CutTime.Complete; CutTime.Fail; CutTime.Tick the maintenance pass's window: renewed by each completed step, no total -core/frontend/durable/precopy_admission.go StorageBackend.admitPrecopy context.WithDeadline 1 145 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/durable/provider.go DurableProvider.waitHealthy context.WithTimeout 1 901 per-call NONE: no model row maps this file yet one provider open, bounded by OpenTimeout -core/frontend/durable/provider.go DurableProvider.waitHealthy time.After 1 911 control-timer NONE: no model row maps this file yet health poll -core/frontend/durable/provider_chunk.go DurableProvider.chunkAuthorityWait time.After 1 360 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume attach retry pause -core/frontend/durable/provider_chunk.go DurableProvider.newChunkLayer context.WithTimeout 1 496 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume attach: one geometry check, one HEAD claim -core/frontend/durable/provider_chunk.go DurableProvider.newChunkLayer context.WithTimeout 2 515 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume attach: one geometry check, one HEAD claim -core/frontend/durable/provider_chunk.go closeBoundRemote.bind context.WithTimeout 1 718 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume one remote fetch during attach -core/frontend/durable/provider_chunk.go DurableProvider.chunkBackground time.Now().Add 1 1187 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume first maintenance attempt's due time: a timestamp (validity, expiry or due time), not a wait -core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.Now().Add 1 1332 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume maintenance due time: a timestamp (validity, expiry or due time), not a wait -core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.Now().Add 2 1334 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume maintenance due time: a timestamp (validity, expiry or due time), not a wait -core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.NewTimer 1 1336 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume poll or delay timer -core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop boundedPass 1 1348 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume snapshot-name probe: one bounded listing that grows with snapshot names, not with chunks -core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.NewTimer 2 1419 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume poll or delay timer -core/frontend/durable/provider_chunk.go boundedPass context.WithTimeout 1 1493 pending-fix EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume maintenance pass total (retention plus cleaning); fix #969 (no-progress window per object) -core/frontend/durable/provider_chunk.go DurableProvider.detachVolume time.AfterFunc 1 1787 availability-contract EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach freeze and settle budget: the guest-visible freeze is bounded by contract -core/frontend/durable/provider_chunk.go DurableProvider.detachVolume time.AfterFunc 2 1800 availability-contract EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach freeze and settle budget: the guest-visible freeze is bounded by contract -core/frontend/durable/provider_chunk.go DurableProvider.detachVolume context.WithDeadline 1 1924 availability-contract EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach freeze and settle budget: the guest-visible freeze is bounded by contract -core/frontend/durable/provider_chunk.go DurableProvider.retryUnknownDetach time.After 1 2002 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach retry backoff -core/frontend/durable/provider_chunk.go DurableProvider.retryUnknownDetach context.WithTimeout 1 2012 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume one detach retry attempt -core/frontend/durable/storage_adapter.go StorageBackend.admitAfterAttachUnqueued context.WithTimeout 1 767 per-call EngineAdapter.GuestWrite; HolderInterface.Write; WALHold.Resubmit one RPC or request -core/frontend/iscsi/session.go Session.collectWriteData SetReadDeadline 1 470 per-call NONE: no model row maps this file yet one connection exchange or frame -core/frontend/memback/provider.go Provider.Open time.After 1 69 control-timer NONE: no model row maps this file yet open poll -core/frontend/nbd/device_linux.go Device.waitDone time.After 1 165 per-call NONE: no model row maps this file yet one NBD device teardown wait -core/frontend/nbd/device_linux.go waitActive time.Now().Add 1 220 per-call NONE: no model row maps this file yet one NBD device activation wait -core/frontend/nvmerdma/target.go providerBackend.get context.WithTimeout 1 98 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/nvmerdma/target.go providerBackend.Read context.WithTimeout 1 144 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/nvmerdma/target.go providerBackend.Write context.WithTimeout 1 162 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/nvmerdma/target.go providerBackend.Sync context.WithTimeout 1 180 per-call NONE: no model row maps this file yet one RPC or request -core/frontend/ublk/device_linux.go openWhenPresent time.Now().Add 1 239 per-call NONE: no model row maps this file yet one ublk device open wait -core/frontend/ublk/lifecycle.go settleQueues time.NewTimer 1 44 per-call NONE: no model row maps this file yet one bounded wait -core/frontend/write_budget.go WithWriteBudget context.WithDeadline 1 21 per-call NONE: no model row maps this file yet one guest write command's budget -core/host/master/host.go New http.Server.ReadHeaderTimeout 1 420 per-call NONE: no model row maps this file yet one HTTP request or connection -core/host/master/host.go New http.Server.ReadTimeout 1 420 per-call NONE: no model row maps this file yet one HTTP request or connection -core/host/master/host.go New http.Server.WriteTimeout 1 421 per-call NONE: no model row maps this file yet one HTTP request or connection -core/host/master/host.go New http.Server.IdleTimeout 1 421 per-call NONE: no model row maps this file yet one HTTP request or connection -core/host/master/probe_round.go roundEvidenceProvider.round time.NewTimer 1 213 per-call FencingRound.Deliver; FencingRound.Open one probe round's evidence wait -core/host/master/services.go services.deleteHolderEvidence context.WithTimeout 1 1324 per-call FormatGate.Report one RPC or request -core/host/master/workspace_service.go services.AckWorkspaceRevoked context.WithTimeout 1 236 per-call FormatGate.Place; MoveAdmission.ReadForMove; StopAndRestart.ReadClean one RPC or request -core/host/master/workspace_service.go services.MoveWorkspace context.WithTimeout 1 355 per-call FormatGate.Place; MoveAdmission.ReadForMove; StopAndRestart.ReadClean one RPC or request -core/host/master/workspace_service.go services.PreviewWorkspaceMove context.WithTimeout 1 623 per-call FormatGate.Place; MoveAdmission.ReadForMove; StopAndRestart.ReadClean one RPC or request -core/host/volume/chunk_control.go chunkContext context.WithTimeout 1 572 pending-fix SnapOps.Start HTTP chunk handlers' default 5 min total (manual cut, snapshot, backup); fix #964 and its waiter follow-up -core/host/volume/chunk_control.go StatusServer.handleChunkCut time.NewTimer 1 627 per-call CutTime.InProgress one POST observation answers by W or earlier on a sequence rise or terminal result; worker owns the independent cut window -core/host/volume/chunk_control.go StatusServer.handleChunkDetach context.WithTimeout 1 799 pending-fix SnapOps.Start a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) -core/host/volume/chunk_control.go chunkControl.snapshotOperationAttempt context.WithTimeout 1 1033 per-call SnapOps.Start one RPC or request -core/host/volume/chunk_control.go chunkControl.deleteSnapshotOperation time.Now().Add 1 1167 pending-fix SnapOps.Start unmeasured: the holder's snapshot-delete resume loop (30 s) around intent preparation; a measurement at the cap or a window is owed -core/host/volume/chunk_control.go chunkControl.deleteSnapshotOperation time.After 1 1190 control-timer SnapOps.Start resume loop poll -core/host/volume/host.go Host.runRoleRetry time.After 1 550 control-timer FormatGate.Downgrade; FormatGate.Upgrade role retry delay -core/host/volume/host.go Host.runHeartbeat context.WithTimeout 1 792 per-call FormatGate.Downgrade; FormatGate.Upgrade one RPC or request -core/host/volume/host.go Host.runSubscribe time.After 1 962 control-timer FormatGate.Downgrade; FormatGate.Upgrade subscribe retry backoff -core/host/volume/manual_cut.go chunkControl.startManualCut context.WithDeadline 1 84 availability-contract CutTime.Admit optional absolute deadline chosen by the caller, independent of the cut inactivity window -core/host/volume/peer_command_executor.go PeerCommandExecutor.afterSessionClose context.WithTimeout 1 115 per-call NONE: no model row maps this file yet one RPC or request -core/host/volume/peer_command_executor.go PeerCommandExecutor.PublishHealthy context.WithTimeout 1 197 per-call NONE: no model row maps this file yet one RPC or request -core/host/volume/probe_round.go Host.runProbeRounds time.After 1 45 control-timer FencingRound.Answer probe retry backoff -core/host/volume/probe_round.go Host.probeStreamOnce context.WithTimeout 1 76 per-call FencingRound.Answer one RPC or request -core/host/volume/status_server.go StatusServer.Start http.Server.ReadHeaderTimeout 1 422 per-call NONE: no model row maps this file yet one HTTP request or connection -core/host/volume/workspace_lease.go WorkspaceLeaseGuard.Refresh context.WithTimeout 1 258 per-call HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write one lease renewal RPC, capped at the lease end -core/host/volume/workspace_lease.go WorkspaceLeaseGuard.Refresh context.WithDeadline 1 261 per-call HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write one lease renewal RPC, capped at the lease end -core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain context.WithTimeout 1 402 availability-contract HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write lease drain on exit: bounded by the lease -core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain context.WithDeadline 1 427 availability-contract HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write lease drain on exit: bounded by the lease -core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain context.WithTimeout 2 435 availability-contract HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write lease drain on exit: bounded by the lease -core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain time.After 1 445 control-timer HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write ack retry pause -core/hostlimit/fetch.go sleepCtx time.NewTimer 1 140 control-timer NONE: no model row maps this file yet poll or delay timer -core/hostlimit/limiter.go lockGuard time.Now().Add 1 327 per-call NONE: no model row maps this file yet one wait for the host limiter's lock -core/hostlimit/limiter.go Limiter.Admit time.AfterFunc 1 489 no-progress-window NONE: no model row maps this file yet an upload slot expires only after NoProgress without progress -core/hostlimit/limiter.go Limiter.WaitUpload time.NewTimer 1 887 per-call NONE: no model row maps this file yet one bounded wait -core/hostlimit/pending.go holdSharedBounded time.Now().Add 1 45 per-call NONE: no model row maps this file yet one bounded shared hold -core/launcher/k8s_client.go NewKubernetesDeploymentClient http.Client.Timeout 1 63 per-call NONE: no model row maps this file yet one HTTP request -core/launcher/k8s_client.go NewInClusterDeploymentClient http.Client.Timeout 1 100 per-call NONE: no model row maps this file yet one HTTP request -core/ops/authority_rebuild_runtime_http.go NewHTTPAuthorityRebuildRuntime http.Client.Timeout 1 21 per-call NONE: no model row maps this file yet one HTTP request -core/ops/authority_rebuild_runtime_http.go HTTPAuthorityRebuildRuntime.ExecuteRebuild http.Client.Timeout 1 35 per-call NONE: no model row maps this file yet one HTTP request -core/ops/failback_runtime_http.go NewHTTPFailbackRuntime http.Client.Timeout 1 21 per-call NONE: no model row maps this file yet one HTTP request -core/ops/failback_runtime_http.go HTTPFailbackRuntime.ExecuteFailback http.Client.Timeout 1 35 per-call NONE: no model row maps this file yet one HTTP request -core/ops/frontend_publication_runtime_http.go NewHTTPFrontendPublicationRuntime http.Client.Timeout 1 21 per-call NONE: no model row maps this file yet one HTTP request -core/ops/frontend_publication_runtime_http.go HTTPFrontendPublicationRuntime.ExecuteFrontendPublication http.Client.Timeout 1 35 per-call NONE: no model row maps this file yet one HTTP request -core/ops/k8s_inventory.go statusAddressForKubernetesInventory time.After 1 423 per-call NONE: no model row maps this file yet one status address lookup -core/ops/k8s_inventory.go waitInventoryTCPReady time.Now().Add 1 466 per-call NONE: no model row maps this file yet one TCP readiness wait -core/ops/kubernetes_status_writer.go NewInClusterKubernetesStatusClient http.Client.Timeout 1 60 per-call NONE: no model row maps this file yet one HTTP request -core/ops/live_sources.go NewLiveVolumeStatusReportCollector http.Client.Timeout 1 38 per-call NONE: no model row maps this file yet one HTTP request -core/ops/server.go NewServer http.Server.ReadHeaderTimeout 1 39 per-call NONE: no model row maps this file yet one HTTP request or connection -core/replication/component/cluster.go Cluster.CatchUpReplica time.After 1 689 per-call NONE: no model row maps this file yet component test cluster: one catch-up wait -core/replication/component/cluster.go Cluster.WaitForConverge time.Now().Add 1 747 per-call NONE: no model row maps this file yet component test cluster: one convergence wait -core/replication/volume.go ReplicationVolume.seedNewPeerLiveCursorsLocked context.WithTimeout 1 714 per-call FencingRound.Ack; Promotion.Ack1; Promotion.Rejoin; Promotion.Write1; Promotion.Write2; ReplicationPeer.Ack; ReplicationPeer.Write one RPC or request -core/storage/chunk_cut_cow.go cutCOWWindow.acquireSaver time.NewTimer 1 403 per-call NONE: no model row maps this file yet one protected chunk's saver wait -core/storage/chunk_cut_cow.go chunkLayerImpl.fillMissing context.WithTimeout 1 603 per-call NONE: no model row maps this file yet one chunk miss fill -core/storage/chunk_head_belt.go casChunkHeadBy context.WithTimeout 1 79 per-call HolderInterface.Fence one HEAD compare-and-swap -core/storage/chunk_head_belt.go readChunkHead context.WithTimeout 1 93 ruled-total HolderInterface.Fence docs/releases/v1.1.md: "is bounded by one fixed 2 s total" -core/storage/chunk_head_belt.go readChunkHeadRoot context.WithTimeout 1 105 per-call HolderInterface.Fence one HEAD root read -core/storage/chunk_head_belt.go confirmChunkHead context.WithTimeout 1 118 ruled-total HolderInterface.Fence docs/releases/v1.1.md: "is bounded by one fixed 2 s total" -core/storage/chunk_head_belt.go confirmChunkTakeover time.NewTimer 1 171 availability-contract HolderInterface.Fence takeover confirmation window -core/storage/chunk_hydrate_all.go chunkLayerImpl.HydrateAllAt time.NewTimer 1 68 control-timer NONE: no model row maps this file yet hydration pacing and retry backoff -core/storage/chunk_hydrate_all.go chunkLayerImpl.HydrateAllAt time.NewTimer 2 104 control-timer NONE: no model row maps this file yet hydration pacing and retry backoff -core/storage/chunk_hydration.go chunkLayerImpl.hydrationWorker context.WithTimeout 1 212 per-call NONE: no model row maps this file yet one chunk fetch -core/storage/chunk_manual_cut.go chunkLayerImpl.captureManualCut time.NewTimer 1 172 control-timer CutTime.Settle unavailable settlement read backoff; no progress credit -core/storage/chunk_precopy.go chunkLayerImpl.precopyDetach context.WithTimeout 1 157 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "Precopy detach keeps its fixed budgets; it is refused in v1.1" -core/storage/chunk_precopy.go chunkLayerImpl.precopyDetach context.WithTimeout 2 203 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "Precopy detach keeps its fixed budgets; it is refused in v1.1" -core/storage/chunk_upgrade_pass.go upgradePass.Run time.NewTimer 1 356 control-timer NONE: no model row maps this file yet upgrade-pass pacing pause -core/storage/chunk_upload.go chunkLayerImpl.putCapturedWith context.WithTimeout 1 34 per-call CutWindow.CallTimeout; CutWindow.Start one immutable PUT or verification GET inside the cut inactivity window; no total retry deadline -core/storage/chunk_upload.go chunkLayerImpl.putCapturedWith context.WithTimeout 2 46 per-call CutWindow.CallTimeout; CutWindow.Start one immutable PUT or verification GET inside the cut inactivity window; no total retry deadline -core/storage/chunk_upload.go chunkLayerImpl.putCapturedWith time.NewTimer 1 59 control-timer CutWindow.CallTimeout; CutWindow.Start same-object upload retry backoff; no progress credit -core/storage/cut_progress_window.go WithCutProgressWindow time.AfterFunc 1 40 no-progress-window CutWindow.Tick; CutWindow.Complete completed-own-object inactivity window; no total cut bound -core/storage/cut_progress_window.go RunCutRequest context.WithTimeout 1 132 per-call CutWindow.CallTimeout one metadata request inside the cut inactivity window -core/storage/group_commit.go GroupCommitter.Run time.NewTimer 1 81 control-timer NONE: no model row maps this file yet group commit batching delay -core/storage/wal_admission.go walAdmission.acquireContext time.NewTimer 1 128 per-call WALHold.Arrive one write's admission wait, under its command budget -core/storage/wal_admission.go walAdmission.acquireContext time.After 1 239 control-timer WALHold.Arrive admission re-check poll -core/storage/wal_write_hold.go WithWALWriteHold context.WithDeadline 1 104 availability-contract WALHold.CapAnswer; WALHold.Stall a held write's maximum hold, the guest's write budget -core/storage/walstore.go WALStore.admitExtentWrite time.After 1 1308 control-timer WALHold.Admit held extent write's hard-mark re-check -core/storage/walstore.go WALStore.tryCaptureLockWhileHeld time.Now().Add 1 1318 per-call WALHold.Admit the barrier's bounded try for its lock while the flusher hold is on -core/transport/barrier.go sendBarrierReq SetDeadline 1 146 per-call NONE: no model row maps this file yet one connection exchange or frame -core/transport/barrier.go recvBarrierResp SetDeadline 1 157 per-call NONE: no model row maps this file yet one connection exchange or frame -core/transport/catchup_sender.go BlockExecutor.doCatchUp SetDeadline 1 107 ruled-total ReplicationPeer.CatchUp docs/releases/v1.1.md: "one 5 s connection deadline around the whole catch-up stream" -core/transport/catchup_sender.go BlockExecutor.doCatchUp SetDeadline 2 191 per-call ReplicationPeer.CatchUp catch-up final barrier exchange -core/transport/executor.go BlockExecutor.Probe SetDeadline 1 750 per-call NONE: no model row maps this file yet one connection exchange or frame -core/transport/executor.go BlockExecutor.WalShipperFor SetWriteDeadline 1 968 per-call NONE: no model row maps this file yet one connection exchange or frame -core/transport/executor.go BlockExecutor.PublishRecoveryPrefix SetDeadline 1 1393 per-call NONE: no model row maps this file yet one connection exchange or frame -core/transport/rebuild_sender.go BlockExecutor.doRebuild SetDeadline 1 130 per-call ReplicationPeer.Rebuild one connection exchange or frame -core/transport/rebuild_sender.go BlockExecutor.doRebuild SetDeadline 2 146 per-call ReplicationPeer.Rebuild one connection exchange or frame -core/transport/replica.go ReplicaListener.floorAndDrain time.AfterFunc 1 884 per-call FencingRound.Recv; ReplicationPeer.CatchUp; ReplicationPeer.Rebuild; ReplicationPeer.Ship one drain wait of the replica listener -core/transport/wal_shipper.go WalShipper.DrainBacklog time.After 1 799 control-timer NONE: no model row maps this file yet idle pause between drain rounds -core/transport/wal_shipper.go WalShipper.DrainBacklog time.After 2 863 control-timer NONE: no model row maps this file yet idle pause between drain rounds +path func kind n class model note +cmd/blockcsi/main.go run context.WithTimeout 1 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockmaster/main.go run context.WithTimeout 1 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 1 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 2 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 3 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 4 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 5 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 6 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 7 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 8 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 9 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 10 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 11 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 12 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 13 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 14 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 15 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 16 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go runVolume context.WithTimeout 17 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/main.go waitFaultedDurableRecovery context.WithTimeout 1 per-call NONE: no model row maps this file yet one shutdown or startup step +cmd/blockvolume/process_exit.go superviseProcess time.NewTimer 1 availability-contract NONE: no model row maps this file yet exit drain bounded by the workspace drain timeout +cmd/blockvolume/process_exit.go finishWorkspaceLease time.After 1 availability-contract NONE: no model row maps this file yet lease closeout on exit, bounded +cmd/blockvolume/ready_latch.go handleReadyAssignment context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +cmd/blockvolume/snapshot_operation_shutdown.go stopSnapshotOperationsForShutdown context.WithTimeout 1 per-call SnapOps.Stall one RPC or request +cmd/sparrow/main.go shutdownServer context.WithTimeout 1 per-call NONE: no model row maps this file yet test-harness binary: one bounded step +cmd/sparrow/main.go waitForMode time.Now().Add 1 per-call NONE: no model row maps this file yet test-harness binary: one bounded wait +cmd/sparrow/s5_bootstrap.go runS5Bootstrap context.WithTimeout 1 per-call NONE: no model row maps this file yet test-harness binary: one bounded step +cmd/sparrow/s7_restart_smoke.go runS7RestartSmoke context.WithTimeout 1 per-call NONE: no model row maps this file yet test-harness binary: one bounded step +cmd/sparrow/s7_restart_smoke.go runS7RestartSmoke time.Now().Add 1 per-call NONE: no model row maps this file yet test-harness binary: one bounded wait +cmd/sw-block/catalog_snapshot_operation.go chunkCatalogSnapshotDeleteAnswer time.After 1 control-timer NONE: no model row maps this file yet retry pause inside the snapshot-delete command's window +cmd/sw-block/chunk.go refuseUnlessSingleFilerWithin context.WithTimeout 1 per-call CutTime.Poll the single-filer start check, bounded by --timeout and by its caller's pass +cmd/sw-block/chunk.go chunkPost time.Now().Add 1 pending-fix CutTime.Poll remaining snapshot/detach HTTP waiter bound; fix #979 (manual cuts use chunkObserveCut) +cmd/sw-block/chunk.go chunkPostUntil context.WithDeadline 1 pending-fix CutTime.Poll remaining snapshot/detach HTTP waiter bound; fix #979 (manual cuts use chunkObserveCut) +cmd/sw-block/chunk.go chunkSnapshot time.Now().Add 1 control-timer CutTime.Poll snapshot expiry: a timestamp (validity, expiry or due time), not a wait +cmd/sw-block/chunk_b.go volumeFlags.ref context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/chunk_b.go bCommand.run context.WithTimeout 1 pending-fix NONE: no model row maps this file yet unmeasured: applies each catalog command's own budget (its newBCommand row); open while snapshot delete and retain are unmeasured +cmd/sw-block/chunk_b.go chunkSnapshots newBCommand 1 per-call NONE: no model row maps this file yet lists one volume's snapshot names from one HEAD read (30 s) +cmd/sw-block/chunk_b.go snapshotDeleteFormatLevel context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/chunk_b.go chunkSnapshotDelete newBCommand 1 pending-fix NONE: no model row maps this file yet unmeasured: a snapshot delete stages intents across the snapshot's chunks under 30 s; a measurement at the cap or a window is owed +cmd/sw-block/chunk_b.go chunkShowContext newBCommand 1 per-call NONE: no model row maps this file yet one volume record and one HEAD read (30 s) +cmd/sw-block/chunk_b.go chunkUsage newBCommand 1 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "at the 1 TiB cap usage took 8.45 s against its 60 s default" +cmd/sw-block/chunk_b.go chunkRestore newBCommand 1 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "it took 0.42 s at the 1 TiB cap" +cmd/sw-block/chunk_b.go chunkRestore context.WithTimeout 1 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "it took 0.42 s at the 1 TiB cap" +cmd/sw-block/chunk_b.go chunkRelease newBCommand 1 per-call NONE: no model row maps this file yet releases one restore target from its source (30 s) +cmd/sw-block/chunk_b.go chunkRetain newBCommand 1 pending-fix NONE: no model row maps this file yet unmeasured: retain retires expired snapshots under 5 min; a measurement at the cap or a window is owed +cmd/sw-block/chunk_diag.go diagWriter.close time.NewTimer 1 per-call NONE: no model row maps this file yet drain of one diagnostics writer on close +cmd/sw-block/chunk_loop.go chunkPostLoop time.Now().Add 1 pending-fix NONE: no model row maps this file yet CLI cut retry loop's one absolute end; fix #964 +cmd/sw-block/chunk_loop.go chunkStats context.WithDeadline 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/chunk_verify.go chunkVerify context.WithTimeoutCause 1 availability-contract NONE: no model row maps this file yet the operator's optional --deadline (off by default), an absolute total the operator chooses +cmd/sw-block/chunk_verify.go chunkVerify watchVerifyProgress 1 no-progress-window NONE: no model row maps this file yet verify's --timeout: the pass ends only after that long with no object read completed (each read renews it) +cmd/sw-block/chunk_volume_delete.go chunkVolumeDelete newBCommand 1 no-progress-window NONE: no model row maps this file yet growing command: no total; the budget is one sweep and the no-progress window +cmd/sw-block/chunk_volume_delete.go deleteVolumeWithProgress context.WithDeadline 1 no-progress-window NONE: no model row maps this file yet batch deadline min(now+bound, last progress+bound): renewed by sweep progress +cmd/sw-block/chunk_volume_delete.go deleteVolumeWithProgress time.NewTimer 1 control-timer NONE: no model row maps this file yet poll or delay timer +cmd/sw-block/cluster_format.go runClusterFormatLevel context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/cluster_format.go runClusterFinalizeFormat context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/cluster_format.go runClusterRetireHost context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/cut_progress_poll.go chunkObserveCut context.WithDeadline 1 no-progress-window CutTime.Poll; CutTime.CliSilent observation deadline renewed only by a strict sequence rise, or shortened by the user-chosen absolute deadline +cmd/sw-block/failover.go runOpsFailover context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/log_collect.go inspectionShell.collectLogs context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go runOpsStatus context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go runOpsInventory context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go loadObservationCluster context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go loadObservationCluster context.WithTimeout 2 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go enrichLiveObservationCluster context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go applyCleanupSummaryProjection context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go runOpsReport context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go runOpsReport context.WithTimeout 2 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go runOpsDashboard http.Server.ReadHeaderTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +cmd/sw-block/main.go runOpsDashboard time.NewTimer 1 control-timer NONE: no model row maps this file yet poll or delay timer +cmd/sw-block/main.go runOpsDashboard context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go loadDashboardCluster context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go loadDashboardCluster context.WithTimeout 2 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go runOpsGenerateHelmValues context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/main.go loadObservationVolume context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/mini.go miniRun.ready time.Now().Add 1 per-call NONE: no model row maps this file yet mini cluster start wait +cmd/sw-block/mini.go miniRun.ready time.After 1 control-timer NONE: no model row maps this file yet start-wait poll +cmd/sw-block/mini.go miniRun.stop time.After 1 per-call NONE: no model row maps this file yet mini cluster stop wait +cmd/sw-block/mini.go mini time.Now().Add 1 per-call NONE: no model row maps this file yet mini cluster resolve wait +cmd/sw-block/mini.go mini context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/mini.go mini time.After 1 control-timer NONE: no model row maps this file yet resolve-wait poll +cmd/sw-block/mini.go mini time.After 2 control-timer NONE: no model row maps this file yet resolve-wait poll +cmd/sw-block/shell.go inspectionShell.execute context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/shell_check.go inspectionShell.check context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/snapshot_operation.go chunkObserveSnapshot context.WithTimeout 1 per-call SnapOps.Send one CLI request (operator --timeout) +cmd/sw-block/snapshot_operation.go chunkObserveSnapshot time.NewTimer 1 control-timer SnapOps.Send poll or delay timer +cmd/sw-block/volume_backup.go volumeSnapshot context.WithTimeout 1 pending-fix RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) +cmd/sw-block/volume_backup.go volumeSnapshot set.Timeout 1 pending-fix RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) +cmd/sw-block/volume_backup.go volumeRestore context.WithTimeout 1 ruled-total RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start docs/releases/v1.1.md: "it took 0.42 s at the 1 TiB cap" +cmd/sw-block/volume_backup.go volumeRestoreAbort context.WithTimeout 1 per-call RestoreCommand.Abort; RestoreCommand.AbortVerify; RestoreCommand.Run; RestoreCommand.Start one CLI request (operator --timeout) +cmd/sw-block/volume_create.go runOpsVolumeCreate context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/volume_resolve.go runOpsVolume context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/volume_verbs.go runVolume http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +cmd/sw-block/volume_verbs.go volumeStart time.Now().Add 1 per-call NONE: no model row maps this file yet volume start: the operator's --wait for it to serve +cmd/sw-block/volume_verbs.go volumeStart time.After 1 control-timer NONE: no model row maps this file yet volume start poll +cmd/sw-block/volume_verbs.go volumeCut context.WithTimeout 1 pending-fix NONE: no model row maps this file yet a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) +cmd/sw-block/volume_verbs.go volumeCut set.Timeout 1 pending-fix NONE: no model row maps this file yet a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) +cmd/sw-block/workspace.go runWorkspaceForceMove context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/workspace.go runWorkspaceLostRange context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/workspace_clean.go runWorkspaceCleanMove context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/workspace_revoke.go runWorkspaceRevoke context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +cmd/sw-block/workspace_show.go runWorkspaceShow context.WithTimeout 1 per-call NONE: no model row maps this file yet one CLI request (operator --timeout) +core/adapter/adapter.go VolumeReplicaAdapter.armFenceWatchdog time.AfterFunc 1 availability-contract NONE: no model row maps this file yet fence watchdog: a fence that never answers fails typed +core/adapter/adapter.go VolumeReplicaAdapter.armStartWatchdog time.AfterFunc 1 availability-contract NONE: no model row maps this file yet start watchdog: a start that never answers fails typed +core/auth/audit.go AuditLog.attempt time.NewTimer 1 per-call NONE: no model row maps this file yet one audit record write +core/auth/authtest/certs.go NewCA time.Now().Add 1 control-timer NONE: no model row maps this file yet test CA certificate validity: a timestamp (validity, expiry or due time), not a wait +core/auth/authtest/certs.go NewCA time.Now().Add 2 control-timer NONE: no model row maps this file yet test CA certificate validity: a timestamp (validity, expiry or due time), not a wait +core/auth/authtest/certs.go CA.Issue time.Now().Add 1 control-timer NONE: no model row maps this file yet test certificate validity: a timestamp (validity, expiry or due time), not a wait +core/authority/directive.go StaticDirective.Next time.After 1 control-timer NONE: no model row maps this file yet directive poll +core/authority/observation_host.go ObservationHost.run time.NewTimer 1 control-timer NONE: no model row maps this file yet next observation deadline +core/authority/observation_host.go ObservationHost.run time.Now().Add 1 control-timer NONE: no model row maps this file yet next observation time: a timestamp (validity, expiry or due time), not a wait +core/calibration/harness.go harness.waitForDecisionFinal time.Now().Add 1 per-call NONE: no model row maps this file yet calibration harness: one bounded wait +core/csi/controller.go ControllerServer.waitForControllerMultipathPublishContext time.NewTimer 1 per-call NONE: no model row maps this file yet one bounded wait +core/csi/kubernetes_metadata.go newInClusterKubernetesClient http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/csi/linux_util.go realISCSIUtil.GetDeviceByIQN time.After 1 per-call NONE: no model row maps this file yet one iSCSI device discovery wait +core/csi/linux_util.go realISCSIUtil.GetMultipathDeviceByIQN time.After 1 per-call NONE: no model row maps this file yet one multipath device discovery wait +core/csi/linux_util.go refreshMultipathMaps context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/csi/linux_util.go iscsiMultipathDeviceForIQN context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/csi/linux_util.go realNVMeUtil.GetDeviceByNQN time.After 1 per-call NONE: no model row maps this file yet one NVMe device discovery wait +core/csi/node.go NodeServer.waitForNVMePathsConnected time.NewTimer 1 per-call NONE: no model row maps this file yet one bounded wait +core/csi/node.go NodeServer.reportCSIReattachObserved context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/csi/node.go NodeServer.waitForISCSIMultipathPublishContext time.NewTimer 1 per-call NONE: no model row maps this file yet one bounded wait +core/csi/node.go NodeServer.waitForNVMeMultipathPublishContext time.NewTimer 1 per-call NONE: no model row maps this file yet one bounded wait +core/frontend/chunkstore/catalog_snapshot_operation.go BCatalog.RunSnapshotDeleteOperation context.WithTimeout 1 per-call CleanBatch.Publish one settle step after a snapshot delete +core/frontend/chunkstore/clean_b.go BCatalog.RemoveUnreachableAll context.WithDeadline 1 control-timer CleanBatch.BeginIn; CleanBatch.Close; CleanBatch.Effects; CleanBatch.PrepIn; CleanBatch.PrepOut; CutTime.Complete; PageChain.Sweep; SnapshotRemoval.BeginClean; SnapshotRemoval.EndClean; StaleClean.HeadRead clean batch session hold (5 s): bounds one batch's read-only preparation; the session is closed and the pass resumes at its cursor, no total over the pass +core/frontend/chunkstore/clean_b.go BCatalog.RemoveUnreachableAll time.After 1 control-timer CleanBatch.BeginIn; CleanBatch.Close; CleanBatch.Effects; CleanBatch.PrepIn; CleanBatch.PrepOut; CutTime.Complete; PageChain.Sweep; SnapshotRemoval.BeginClean; SnapshotRemoval.EndClean; StaleClean.HeadRead pause between clean batches, outside the session +core/frontend/chunkstore/clean_b.go endCleanBatch time.After 1 control-timer CleanBatch.BeginIn; CleanBatch.Close; CleanBatch.Effects; CleanBatch.PrepIn; CleanBatch.PrepOut; CutTime.Complete; PageChain.Sweep; SnapshotRemoval.BeginClean; SnapshotRemoval.EndClean; StaleClean.HeadRead retry pause for a clean batch's close +core/frontend/chunkstore/layout/delete_intent.go StageSnapshotDeletePage context.WithTimeout 1 per-call PageChain.CAdvance; PageChain.CApply; PageChain.CRead; PageChain.CResolve; PageChain.Resend; PageChain.Send; PageChain.WritePage; QueueCap.Consume; QueueCap.Produce; VolDelSweep.Land; VolDelSweep.Stage staging one list page: one HEAD read and one page write (ListStageRequestTimeout) +core/frontend/chunkstore/layout/delete_intent.go adoptDeleteIntentPage context.WithTimeout 1 per-call PageChain.CAdvance; PageChain.CApply; PageChain.CRead; PageChain.CResolve; PageChain.Resend; PageChain.Send; PageChain.WritePage; QueueCap.Consume; QueueCap.Produce; VolDelSweep.Land; VolDelSweep.Stage staging one list page: one HEAD read and one page write (ListStageRequestTimeout) +core/frontend/chunkstore/layout/list_chain.go StageListPage context.WithTimeout 1 per-call PageChain.CAdvance; PageChain.CRead; PageChain.CResolve; PageChain.Resend; PageChain.Send; PageChain.WritePage; QueueCap.Produce; VolDelSweep.Land; VolDelSweep.Stage staging one list page: one HEAD read and one page write (ListStageRequestTimeout) +core/frontend/chunkstore/layout_remote.go walkSegments context.WithTimeout 1 per-call EngineAdapter.Begin; EngineAdapter.ReadHead; EngineAdapter.SendCommit; EngineAdapter.SettleAbort; EngineAdapter.TakeAbandon; PageChain.CRead; StopAndRestart.SendCommit; StopAndRestart.SettleAbort one segment fetch (attach), with reported progress +core/frontend/chunkstore/layout_remote.go attachFetchBound context.WithTimeout 1 per-call EngineAdapter.Begin; EngineAdapter.ReadHead; EngineAdapter.SendCommit; EngineAdapter.SettleAbort; EngineAdapter.TakeAbandon; PageChain.CRead; StopAndRestart.SendCommit; StopAndRestart.SettleAbort one attach fetch +core/frontend/chunkstore/layout_remote.go headStep context.WithTimeout 1 per-call EngineAdapter.Begin; EngineAdapter.ReadHead; EngineAdapter.SendCommit; EngineAdapter.SettleAbort; EngineAdapter.TakeAbandon; PageChain.CRead; StopAndRestart.SendCommit; StopAndRestart.SettleAbort one conditional HEAD exchange +core/frontend/chunkstore/maintenance_request.go maintenanceCall context.WithTimeout 1 per-call CutTime.CallTimeout one maintenance read request +core/frontend/chunkstore/maintenance_request.go maintenanceCall time.After 1 control-timer CutTime.CallTimeout retry pause after a timed-out maintenance read +core/frontend/chunkstore/maintenance_request.go maintenanceMutation context.WithTimeout 1 per-call CutTime.CallTimeout one maintenance mutation request +core/frontend/chunkstore/single_filer.go SWFS.CheckSingleFiler context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/chunkstore/single_filer.go SWFS.CheckSingleFiler time.After 1 control-timer NONE: no model row maps this file yet single-filer check retry pause +core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 2 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 3 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/chunkstore/single_filer.go SWFS.singleFilerRound context.WithTimeout 4 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes context.WithTimeout 1 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each +core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes time.NewTimer 1 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each +core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes context.WithTimeout 2 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each +core/frontend/chunkstore/startup_head_probe.go BCatalog.cleanStartupProbes context.WithTimeout 3 per-call NONE: no model row maps this file yet startup probe cleanup: one bounded step each +core/frontend/chunkstore/startup_head_probe.go BCatalog.checkConditionalHead context.WithTimeout 1 per-call NONE: no model row maps this file yet one conditional HEAD probe at startup +core/frontend/chunkstore/startup_head_probe.go BCatalog.checkConditionalHead context.WithTimeout 2 per-call NONE: no model row maps this file yet one conditional HEAD probe at startup +core/frontend/chunkstore/swfs.go newBlobHTTPClient http.Client.Timeout 1 per-call VolumeCreate.Land one HTTP request +core/frontend/durable/chunk_snapshot_schedule.go DurableProvider.chunkSnapshotLoop time.NewTimer 1 control-timer NONE: no model row maps this file yet snapshot schedule timer +core/frontend/durable/chunk_snapshot_schedule.go DurableProvider.chunkSnapshotLoop boundedPass 1 no-progress-window NONE: no model row maps this file yet zero total timeout: joins authority watcher under the shared completed-cut-step progress window +core/frontend/durable/hold_kzhold.go DurableProvider.HoldBeforeChunkFreshRetireForTest time.Now().Add 1 per-call NONE: no model row maps this file yet a test seam's bounded hold +core/frontend/durable/maintenance_progress.go maintenancePass time.AfterFunc 1 no-progress-window CutTime.Complete; CutTime.Fail; CutTime.Tick the maintenance pass's window: renewed by each completed step, no total +core/frontend/durable/precopy_admission.go StorageBackend.admitPrecopy context.WithDeadline 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/durable/provider.go DurableProvider.waitHealthy context.WithTimeout 1 per-call NONE: no model row maps this file yet one provider open, bounded by OpenTimeout +core/frontend/durable/provider.go DurableProvider.waitHealthy time.After 1 control-timer NONE: no model row maps this file yet health poll +core/frontend/durable/provider_chunk.go DurableProvider.chunkAuthorityWait time.After 1 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume attach retry pause +core/frontend/durable/provider_chunk.go DurableProvider.newChunkLayer context.WithTimeout 1 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume attach: one geometry check, one HEAD claim +core/frontend/durable/provider_chunk.go DurableProvider.newChunkLayer context.WithTimeout 2 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume attach: one geometry check, one HEAD claim +core/frontend/durable/provider_chunk.go closeBoundRemote.bind context.WithTimeout 1 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume one remote fetch during attach +core/frontend/durable/provider_chunk.go DurableProvider.chunkBackground time.Now().Add 1 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume first maintenance attempt's due time: a timestamp (validity, expiry or due time), not a wait +core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.Now().Add 1 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume maintenance due time: a timestamp (validity, expiry or due time), not a wait +core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.Now().Add 2 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume maintenance due time: a timestamp (validity, expiry or due time), not a wait +core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.NewTimer 1 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume poll or delay timer +core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop boundedPass 1 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume snapshot-name probe: one bounded listing that grows with snapshot names, not with chunks +core/frontend/durable/provider_chunk.go DurableProvider.chunkMaintenanceLoop time.NewTimer 2 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume poll or delay timer +core/frontend/durable/provider_chunk.go boundedPass context.WithTimeout 1 pending-fix EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume maintenance pass total (retention plus cleaning); fix #969 (no-progress window per object) +core/frontend/durable/provider_chunk.go DurableProvider.detachVolume time.AfterFunc 1 availability-contract EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach freeze and settle budget: the guest-visible freeze is bounded by contract +core/frontend/durable/provider_chunk.go DurableProvider.detachVolume time.AfterFunc 2 availability-contract EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach freeze and settle budget: the guest-visible freeze is bounded by contract +core/frontend/durable/provider_chunk.go DurableProvider.detachVolume context.WithDeadline 1 availability-contract EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach freeze and settle budget: the guest-visible freeze is bounded by contract +core/frontend/durable/provider_chunk.go DurableProvider.retryUnknownDetach time.After 1 control-timer EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume detach retry backoff +core/frontend/durable/provider_chunk.go DurableProvider.retryUnknownDetach context.WithTimeout 1 per-call EngineAdapter.SettleResume; EngineAdapter.StartStop; HolderInterface.StopBegin; StopAndRestart.SendDetach; StopAndRestart.SettleResume one detach retry attempt +core/frontend/durable/storage_adapter.go StorageBackend.admitAfterAttachUnqueued context.WithTimeout 1 per-call EngineAdapter.GuestWrite; HolderInterface.Write; WALHold.Resubmit one RPC or request +core/frontend/iscsi/session.go Session.collectWriteData SetReadDeadline 1 per-call NONE: no model row maps this file yet one connection exchange or frame +core/frontend/memback/provider.go Provider.Open time.After 1 control-timer NONE: no model row maps this file yet open poll +core/frontend/nbd/device_linux.go Device.waitDone time.After 1 per-call NONE: no model row maps this file yet one NBD device teardown wait +core/frontend/nbd/device_linux.go waitActive time.Now().Add 1 per-call NONE: no model row maps this file yet one NBD device activation wait +core/frontend/nvmerdma/target.go providerBackend.get context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/nvmerdma/target.go providerBackend.Read context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/nvmerdma/target.go providerBackend.Write context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/nvmerdma/target.go providerBackend.Sync context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/frontend/ublk/device_linux.go openWhenPresent time.Now().Add 1 per-call NONE: no model row maps this file yet one ublk device open wait +core/frontend/ublk/lifecycle.go settleQueues time.NewTimer 1 per-call NONE: no model row maps this file yet one bounded wait +core/frontend/write_budget.go WithWriteBudget context.WithDeadline 1 per-call NONE: no model row maps this file yet one guest write command's budget +core/host/master/host.go New http.Server.ReadHeaderTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +core/host/master/host.go New http.Server.ReadTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +core/host/master/host.go New http.Server.WriteTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +core/host/master/host.go New http.Server.IdleTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +core/host/master/probe_round.go roundEvidenceProvider.round time.NewTimer 1 per-call FencingRound.Deliver; FencingRound.Open one probe round's evidence wait +core/host/master/services.go services.deleteHolderEvidence context.WithTimeout 1 per-call FormatGate.Report one RPC or request +core/host/master/workspace_service.go services.AckWorkspaceRevoked context.WithTimeout 1 per-call FormatGate.Place; MoveAdmission.ReadForMove; StopAndRestart.ReadClean one RPC or request +core/host/master/workspace_service.go services.MoveWorkspace context.WithTimeout 1 per-call FormatGate.Place; MoveAdmission.ReadForMove; StopAndRestart.ReadClean one RPC or request +core/host/master/workspace_service.go services.PreviewWorkspaceMove context.WithTimeout 1 per-call FormatGate.Place; MoveAdmission.ReadForMove; StopAndRestart.ReadClean one RPC or request +core/host/volume/chunk_control.go chunkContext context.WithTimeout 1 pending-fix SnapOps.Start HTTP chunk handlers' default 5 min total (manual cut, snapshot, backup); fix #964 and its waiter follow-up +core/host/volume/chunk_control.go StatusServer.handleChunkCut time.NewTimer 1 per-call CutTime.InProgress one POST observation answers by W or earlier on a sequence rise or terminal result; worker owns the independent cut window +core/host/volume/chunk_control.go StatusServer.handleChunkDetach context.WithTimeout 1 pending-fix SnapOps.Start a cut waiter's fixed total; fix follows the cut window of #964 (one waiter PR for snapshot, backup, plain detach and stop) +core/host/volume/chunk_control.go chunkControl.snapshotOperationAttempt context.WithTimeout 1 per-call SnapOps.Start one RPC or request +core/host/volume/chunk_control.go chunkControl.deleteSnapshotOperation time.Now().Add 1 pending-fix SnapOps.Start unmeasured: the holder's snapshot-delete resume loop (30 s) around intent preparation; a measurement at the cap or a window is owed +core/host/volume/chunk_control.go chunkControl.deleteSnapshotOperation time.After 1 control-timer SnapOps.Start resume loop poll +core/host/volume/host.go Host.runRoleRetry time.After 1 control-timer FormatGate.Downgrade; FormatGate.Upgrade role retry delay +core/host/volume/host.go Host.runHeartbeat context.WithTimeout 1 per-call FormatGate.Downgrade; FormatGate.Upgrade one RPC or request +core/host/volume/host.go Host.runSubscribe time.After 1 control-timer FormatGate.Downgrade; FormatGate.Upgrade subscribe retry backoff +core/host/volume/manual_cut.go chunkControl.startManualCut context.WithDeadline 1 availability-contract CutTime.Admit optional absolute deadline chosen by the caller, independent of the cut inactivity window +core/host/volume/peer_command_executor.go PeerCommandExecutor.afterSessionClose context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/host/volume/peer_command_executor.go PeerCommandExecutor.PublishHealthy context.WithTimeout 1 per-call NONE: no model row maps this file yet one RPC or request +core/host/volume/probe_round.go Host.runProbeRounds time.After 1 control-timer FencingRound.Answer probe retry backoff +core/host/volume/probe_round.go Host.probeStreamOnce context.WithTimeout 1 per-call FencingRound.Answer one RPC or request +core/host/volume/status_server.go StatusServer.Start http.Server.ReadHeaderTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +core/host/volume/workspace_lease.go WorkspaceLeaseGuard.Refresh context.WithTimeout 1 per-call HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write one lease renewal RPC, capped at the lease end +core/host/volume/workspace_lease.go WorkspaceLeaseGuard.Refresh context.WithDeadline 1 per-call HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write one lease renewal RPC, capped at the lease end +core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain context.WithTimeout 1 availability-contract HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write lease drain on exit: bounded by the lease +core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain context.WithDeadline 1 availability-contract HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write lease drain on exit: bounded by the lease +core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain context.WithTimeout 2 availability-contract HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write lease drain on exit: bounded by the lease +core/host/volume/workspace_lease.go WorkspaceLeaseGuard.drain time.After 1 control-timer HolderInterface.Expire; MoveAdmission.StopOnExpiry; MoveAdmission.Write; SnapshotRemoval.Expire; StopAndRestart.Write ack retry pause +core/hostlimit/fetch.go sleepCtx time.NewTimer 1 control-timer NONE: no model row maps this file yet poll or delay timer +core/hostlimit/limiter.go lockGuard time.Now().Add 1 per-call NONE: no model row maps this file yet one wait for the host limiter's lock +core/hostlimit/limiter.go Limiter.Admit time.AfterFunc 1 no-progress-window NONE: no model row maps this file yet an upload slot expires only after NoProgress without progress +core/hostlimit/limiter.go Limiter.WaitUpload time.NewTimer 1 per-call NONE: no model row maps this file yet one bounded wait +core/hostlimit/pending.go holdSharedBounded time.Now().Add 1 per-call NONE: no model row maps this file yet one bounded shared hold +core/launcher/k8s_client.go NewKubernetesDeploymentClient http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/launcher/k8s_client.go NewInClusterDeploymentClient http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/authority_rebuild_runtime_http.go NewHTTPAuthorityRebuildRuntime http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/authority_rebuild_runtime_http.go HTTPAuthorityRebuildRuntime.ExecuteRebuild http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/failback_runtime_http.go NewHTTPFailbackRuntime http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/failback_runtime_http.go HTTPFailbackRuntime.ExecuteFailback http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/frontend_publication_runtime_http.go NewHTTPFrontendPublicationRuntime http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/frontend_publication_runtime_http.go HTTPFrontendPublicationRuntime.ExecuteFrontendPublication http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/k8s_inventory.go statusAddressForKubernetesInventory time.After 1 per-call NONE: no model row maps this file yet one status address lookup +core/ops/k8s_inventory.go waitInventoryTCPReady time.Now().Add 1 per-call NONE: no model row maps this file yet one TCP readiness wait +core/ops/kubernetes_status_writer.go NewInClusterKubernetesStatusClient http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/live_sources.go NewLiveVolumeStatusReportCollector http.Client.Timeout 1 per-call NONE: no model row maps this file yet one HTTP request +core/ops/server.go NewServer http.Server.ReadHeaderTimeout 1 per-call NONE: no model row maps this file yet one HTTP request or connection +core/replication/component/cluster.go Cluster.CatchUpReplica time.After 1 per-call NONE: no model row maps this file yet component test cluster: one catch-up wait +core/replication/component/cluster.go Cluster.WaitForConverge time.Now().Add 1 per-call NONE: no model row maps this file yet component test cluster: one convergence wait +core/replication/volume.go ReplicationVolume.seedNewPeerLiveCursorsLocked context.WithTimeout 1 per-call FencingRound.Ack; Promotion.Ack1; Promotion.Rejoin; Promotion.Write1; Promotion.Write2; ReplicationPeer.Ack; ReplicationPeer.Write one RPC or request +core/storage/chunk_cut_cow.go cutCOWWindow.acquireSaver time.NewTimer 1 per-call NONE: no model row maps this file yet one protected chunk's saver wait +core/storage/chunk_cut_cow.go chunkLayerImpl.fillMissing context.WithTimeout 1 per-call NONE: no model row maps this file yet one chunk miss fill +core/storage/chunk_head_belt.go casChunkHeadBy context.WithTimeout 1 per-call HolderInterface.Fence one HEAD compare-and-swap +core/storage/chunk_head_belt.go readChunkHead context.WithTimeout 1 ruled-total HolderInterface.Fence docs/releases/v1.1.md: "is bounded by one fixed 2 s total" +core/storage/chunk_head_belt.go readChunkHeadRoot context.WithTimeout 1 per-call HolderInterface.Fence one HEAD root read +core/storage/chunk_head_belt.go confirmChunkHead context.WithTimeout 1 ruled-total HolderInterface.Fence docs/releases/v1.1.md: "is bounded by one fixed 2 s total" +core/storage/chunk_head_belt.go confirmChunkTakeover time.NewTimer 1 availability-contract HolderInterface.Fence takeover confirmation window +core/storage/chunk_hydrate_all.go chunkLayerImpl.HydrateAllAt time.NewTimer 1 control-timer NONE: no model row maps this file yet hydration pacing and retry backoff +core/storage/chunk_hydrate_all.go chunkLayerImpl.HydrateAllAt time.NewTimer 2 control-timer NONE: no model row maps this file yet hydration pacing and retry backoff +core/storage/chunk_hydration.go chunkLayerImpl.hydrationWorker context.WithTimeout 1 per-call NONE: no model row maps this file yet one chunk fetch +core/storage/chunk_manual_cut.go chunkLayerImpl.captureManualCut time.NewTimer 1 control-timer CutTime.Settle unavailable settlement read backoff; no progress credit +core/storage/chunk_precopy.go chunkLayerImpl.precopyDetach context.WithTimeout 1 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "Precopy detach keeps its fixed budgets; it is refused in v1.1" +core/storage/chunk_precopy.go chunkLayerImpl.precopyDetach context.WithTimeout 2 ruled-total NONE: no model row maps this file yet docs/releases/v1.1.md: "Precopy detach keeps its fixed budgets; it is refused in v1.1" +core/storage/chunk_upgrade_pass.go upgradePass.Run time.NewTimer 1 control-timer NONE: no model row maps this file yet upgrade-pass pacing pause +core/storage/chunk_upload.go chunkLayerImpl.putCapturedWith context.WithTimeout 1 per-call CutWindow.CallTimeout; CutWindow.Start one immutable PUT or verification GET inside the cut inactivity window; no total retry deadline +core/storage/chunk_upload.go chunkLayerImpl.putCapturedWith context.WithTimeout 2 per-call CutWindow.CallTimeout; CutWindow.Start one immutable PUT or verification GET inside the cut inactivity window; no total retry deadline +core/storage/chunk_upload.go chunkLayerImpl.putCapturedWith time.NewTimer 1 control-timer CutWindow.CallTimeout; CutWindow.Start same-object upload retry backoff; no progress credit +core/storage/cut_progress_window.go WithCutProgressWindow time.AfterFunc 1 no-progress-window CutWindow.Tick; CutWindow.Complete completed-own-object inactivity window; no total cut bound +core/storage/cut_progress_window.go RunCutRequest context.WithTimeout 1 per-call CutWindow.CallTimeout one metadata request inside the cut inactivity window +core/storage/group_commit.go GroupCommitter.Run time.NewTimer 1 control-timer NONE: no model row maps this file yet group commit batching delay +core/storage/wal_admission.go walAdmission.acquireContext time.NewTimer 1 per-call WALHold.Arrive one write's admission wait, under its command budget +core/storage/wal_admission.go walAdmission.acquireContext time.After 1 control-timer WALHold.Arrive admission re-check poll +core/storage/wal_write_hold.go WithWALWriteHold context.WithDeadline 1 availability-contract WALHold.CapAnswer; WALHold.Stall a held write's maximum hold, the guest's write budget +core/storage/walstore.go WALStore.admitExtentWrite time.After 1 control-timer WALHold.Admit held extent write's hard-mark re-check +core/storage/walstore.go WALStore.tryCaptureLockWhileHeld time.Now().Add 1 per-call WALHold.Admit the barrier's bounded try for its lock while the flusher hold is on +core/transport/barrier.go sendBarrierReq SetDeadline 1 per-call NONE: no model row maps this file yet one connection exchange or frame +core/transport/barrier.go recvBarrierResp SetDeadline 1 per-call NONE: no model row maps this file yet one connection exchange or frame +core/transport/catchup_sender.go BlockExecutor.doCatchUp SetDeadline 1 ruled-total ReplicationPeer.CatchUp docs/releases/v1.1.md: "one 5 s connection deadline around the whole catch-up stream" +core/transport/catchup_sender.go BlockExecutor.doCatchUp SetDeadline 2 per-call ReplicationPeer.CatchUp catch-up final barrier exchange +core/transport/executor.go BlockExecutor.Probe SetDeadline 1 per-call NONE: no model row maps this file yet one connection exchange or frame +core/transport/executor.go BlockExecutor.WalShipperFor SetWriteDeadline 1 per-call NONE: no model row maps this file yet one connection exchange or frame +core/transport/executor.go BlockExecutor.PublishRecoveryPrefix SetDeadline 1 per-call NONE: no model row maps this file yet one connection exchange or frame +core/transport/rebuild_sender.go BlockExecutor.doRebuild SetDeadline 1 per-call ReplicationPeer.Rebuild one connection exchange or frame +core/transport/rebuild_sender.go BlockExecutor.doRebuild SetDeadline 2 per-call ReplicationPeer.Rebuild one connection exchange or frame +core/transport/replica.go ReplicaListener.floorAndDrain time.AfterFunc 1 per-call FencingRound.Recv; ReplicationPeer.CatchUp; ReplicationPeer.Rebuild; ReplicationPeer.Ship one drain wait of the replica listener +core/transport/wal_shipper.go WalShipper.DrainBacklog time.After 1 control-timer NONE: no model row maps this file yet idle pause between drain rounds +core/transport/wal_shipper.go WalShipper.DrainBacklog time.After 2 control-timer NONE: no model row maps this file yet idle pause between drain rounds diff --git a/seaweed-block/internal/timebound/registry_check_test.go b/seaweed-block/internal/timebound/registry_check_test.go index 9e9a9b11d8..3050accb82 100644 --- a/seaweed-block/internal/timebound/registry_check_test.go +++ b/seaweed-block/internal/timebound/registry_check_test.go @@ -13,7 +13,7 @@ import ( const ( registryPath = "docs/time-bounds.tsv" tracePath = ".github/model-code-trace.tsv" - header = "path\tfunc\tkind\tn\tline\tclass\tmodel\tnote" + header = "path\tfunc\tkind\tn\tclass\tmodel\tnote" ) // The classes a bound may have. @@ -61,16 +61,15 @@ func parseRegistry(text string) (comments []string, rows []row, err error) { continue } f := strings.Split(line, "\t") - if len(f) != 8 { - return nil, nil, fmt.Errorf("%s:%d: %d columns, want 8", registryPath, i+1, len(f)) + if len(f) != 7 { + return nil, nil, fmt.Errorf("%s:%d: %d columns, want 7", registryPath, i+1, len(f)) } - n, err1 := strconv.Atoi(f[3]) - ln, err2 := strconv.Atoi(f[4]) - if err1 != nil || err2 != nil { - return nil, nil, fmt.Errorf("%s:%d: n and line must be numbers", registryPath, i+1) + n, err := strconv.Atoi(f[3]) + if err != nil { + return nil, nil, fmt.Errorf("%s:%d: n must be a number", registryPath, i+1) } - rows = append(rows, row{site: site{Path: f[0], Func: f[1], Kind: f[2], Ordinal: n, Line: ln}, - Class: f[5], Model: f[6], Note: f[7], lineNo: i + 1}) + rows = append(rows, row{site: site{Path: f[0], Func: f[1], Kind: f[2], Ordinal: n}, + Class: f[4], Model: f[5], Note: f[6], lineNo: i + 1}) } if !seenHeader { return nil, nil, fmt.Errorf("%s: no header", registryPath) @@ -116,7 +115,9 @@ func check(sites []site, rows []row, trace map[string]map[string]bool, readDoc f } } seen := map[string]bool{} + locations := map[string]int{} for _, s := range sites { + locations[s.key()] = s.Line r, ok := byKey[s.key()] if !ok { bad("%s:%d: %s in %s is not in %s (add a row naming its class and model row; TIME_BOUNDS_UPDATE=1 adds it as %s)", @@ -124,16 +125,13 @@ func check(sites []site, rows []row, trace map[string]map[string]bool, readDoc f continue } seen[s.key()] = true - if r.Line != s.Line { - bad("%s:%d: %s in %s is listed at line %d (refresh with TIME_BOUNDS_UPDATE=1)", s.Path, s.Line, s.Kind, s.Func, r.Line) - } if r.Class == "per-call" && len(s.Loops) > 0 { bad("%s:%d: per-call %s in %s, but its function then loops over chunks or objects (%s): a total around sized work is not per-call", s.Path, s.Line, s.Kind, s.Func, strings.Join(s.Loops, "; ")) } } for _, r := range rows { - where := fmt.Sprintf("%s:%d (%s %s in %s)", registryPath, r.lineNo, r.Path, r.Kind, r.Func) + where := fmt.Sprintf("%s:%d (%s:%d %s in %s)", registryPath, r.lineNo, r.Path, locations[r.key()], r.Kind, r.Func) if !seen[r.key()] { bad("%s: no such bound in the code any more; remove the row", where) } @@ -199,8 +197,8 @@ func checkModel(where string, r row, trace map[string]map[string]bool, all map[s return out } -// update rewrites the registry for the scanned sites: listed rows keep their class, model and note with refreshed -// line numbers, rows for vanished sites are dropped, and new sites are appended as unclassified. +// update writes stable site identities and reviewed classifications. Source lines +// are scanned for diagnostics only; vanished sites drop and new sites are unclassified. func update(comments []string, sites []site, rows []row, trace map[string]map[string]bool) string { byKey := map[string]row{} for _, r := range rows { @@ -219,7 +217,7 @@ func update(comments []string, sites []site, rows []row, trace map[string]map[st r.Model = strings.Join(sortedKeys(acts), "; ") } } - fmt.Fprintf(&b, "%s\t%s\t%s\t%d\t%d\t%s\t%s\t%s\n", s.Path, s.Func, s.Kind, s.Ordinal, s.Line, r.Class, r.Model, r.Note) + fmt.Fprintf(&b, "%s\t%s\t%s\t%d\t%s\t%s\t%s\n", s.Path, s.Func, s.Kind, s.Ordinal, r.Class, r.Model, r.Note) } return b.String() } diff --git a/seaweed-block/internal/timebound/registry_test.go b/seaweed-block/internal/timebound/registry_test.go index c790de0b9d..f98be6f1a6 100644 --- a/seaweed-block/internal/timebound/registry_test.go +++ b/seaweed-block/internal/timebound/registry_test.go @@ -28,8 +28,8 @@ func repoRoot(t *testing.T) string { // Every fixed time bound in core/ and cmd/ has one row in docs/time-bounds.tsv // naming its class and model row; a per-call bound never wraps a loop over // chunks or objects; a pending-fix row names its fix PR and a ruled-total row -// cites the release-note line that states it. TIME_BOUNDS_UPDATE=1 refreshes -// the line numbers, drops vanished sites and appends new ones as unclassified +// cites the release-note line that states it. TIME_BOUNDS_UPDATE=1 +// drops vanished sites and appends new ones as unclassified // (which still fails until classified). func TestTheTimeBoundRegistryNamesEveryBound(t *testing.T) { root := repoRoot(t) @@ -166,11 +166,6 @@ func TestTheRegistryCheckRefusesEachDrift(t *testing.T) { return append(s, site{Path: "cmd/v.go", Func: "chunkVerify", Kind: "watchVerifyProgress", Ordinal: 1, Line: 9}), r }, "is not in"}, {"a row for a vanished bound", func(s []site, r []row) ([]site, []row) { return s[1:], r }, "no such bound"}, - {"a moved bound with a stale line", func(s []site, r []row) ([]site, []row) { - s = append([]site(nil), s...) - s[0].Line = 11 - return s, r - }, "refresh with TIME_BOUNDS_UPDATE=1"}, {"a per-call bound around a chunk loop", func(s []site, r []row) ([]site, []row) { s = append([]site(nil), s...) s[0].Loops = []string{"12: l.chunks"} @@ -200,7 +195,7 @@ func TestTheRegistryCheckRefusesEachDrift(t *testing.T) { } } -// The update mode keeps each row's class, model and note, refreshes its line, +// The update mode keeps each row's class, model and note without source locations, // drops vanished sites and appends new ones as unclassified. func TestTheRegistryUpdateKeepsClassesAndAddsNewSitesUnclassified(t *testing.T) { old := []row{ @@ -215,8 +210,50 @@ func TestTheRegistryUpdateKeepsClassesAndAddsNewSitesUnclassified(t *testing.T) if err != nil { t.Fatal(err) } - if len(rows) != 2 || rows[0].Line != 12 || rows[0].Class != "control-timer" || rows[0].Note != "poll" || + if len(rows) != 2 || rows[0].Line != 0 || rows[0].Class != "control-timer" || rows[0].Note != "poll" || rows[1].Func != "new" || rows[1].Class != unclassified { t.Fatalf("updated rows %+v", rows) } } + +// A rebase that adds lines before a bound must not change either committed +// registry. Locations remain available from the scanner for CI diagnostics. +func TestLineOnlyRebaseLeavesBothRegistriesUnchanged(t *testing.T) { + path := filepath.Join(t.TempDir(), "bounds.go") + source := "package example\nimport (\"context\"; \"time\")\nfunc wait() { context.WithTimeout(context.Background(), time.Second) }\n" + write := func(text string) []site { + t.Helper() + if err := os.WriteFile(path, []byte(text), 0o600); err != nil { + t.Fatal(err) + } + sites, err := scanFile(path, "core/example.go") + if err != nil { + t.Fatal(err) + } + return sites + } + before := write(source) + rows := []row{{site: before[0], Class: "per-call", Model: "Example.Wait", Note: "one call"}} + traceText := "core/example.go\tExample.Wait\n" + trace := parseTrace(traceText) + registry := update(nil, before, rows, trace) + after := write("// unrelated rebase\n\n\n" + source) + if after[0].Line <= before[0].Line { + t.Fatal("fixture did not move the bound") + } + if got := update(nil, after, rows, trace); got != registry { + t.Fatalf("line-only rebase changes committed registry:\nbefore:\n%safter:\n%s", registry, got) + } + _, parsed, err := parseRegistry(registry) + if err != nil { + t.Fatal(err) + } + if problems := check(after, parsed, parseTrace(traceText), nil); len(problems) != 0 { + t.Fatalf("line-only rebase fails classifications/model check: %v", problems) + } + parsed[0].Class = "wrong" + problems := strings.Join(check(after, parsed, trace, nil), "\n") + if !strings.Contains(problems, "core/example.go:6") || !strings.Contains(problems, `class "wrong"`) { + t.Fatalf("classification error must report the regenerated location: %s", problems) + } +}