Commit 244af36
committed
feat(lock): mark Exists as NO_SIDE_EFFECTS
Annotate the only read-only method on lock.v1.LockService with
idempotency_level = NO_SIDE_EFFECTS so Connect-RPC handlers accept
HTTP GET for it. Callers can probe lock state via a cacheable URL
without a POST round-trip.
Lock, LockRead, Release, ForceRelease, UpdateTTL stay POST-only —
they mutate the locker's internal map (even Lock with wait=0 creates
a resource entry on first reference).
Additive proto change; existing clients keep working.1 parent d84446b commit 244af36
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
0 commit comments