Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions platform/extension/messagequeue/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ Cancelling a subscription stops its workers, releases leases, deregisters the he

When a partition worker is stopped (lease lost or shutdown):
- Immediately removed from workers map and context cancelled
- Caller waits up to 30s for exit confirmation (warning logged on timeout)
- `workerWg` tracks the goroutine regardless — `Close()` always waits for full exit
- The caller does not wait for the worker to exit: stopping only cancels the context and removes the map entry, and the worker exits on its own shortly after
- `workerWg` tracks the goroutine until it exits. On shutdown, `managePartitions` waits on it before closing the delivery channel, so no worker can send on a closed channel. `Close()` waits up to 30s per subscription for this; on timeout it returns an error and the remaining workers exit asynchronously
- Reconciliation can start a replacement immediately — brief overlap is harmless with at-least-once semantics

### Logger Hierarchy
Expand Down
Loading