(workerID int)
| 407 | } |
| 408 | } |
| 409 | |
| 410 | type orgStackReconcileState uint8 |
| 411 | |
| 412 | const ( |
| 413 | // Preserve the current presence for transitional warehouse states. A |
| 414 | // running stack remains available while resharding, but a CP that starts in |
| 415 | // the middle of provisioning or resharding must not create a new one. |
| 416 | orgStackPreserve orgStackReconcileState = iota |
| 417 | orgStackEnsurePresent |
| 418 | orgStackEnsureAbsent |
| 419 | ) |
| 420 | |
| 421 | // latestOrgStackState reads the ConfigStore snapshot after the caller has |
| 422 | // acquired the per-org mutation slot. ConfigStore publishes immutable snapshot |
no test coverage detected