main · last commit
1 month ago ·
2npkec0r
tarantool-etcd-5ya Lock rejects lease=0 instead of auto-granting a session lease
Lined Up
bd update tarantool-etcd-5ya --claim
bd close tarantool-etcd-5ya
| Created by | Eugene Blikh |
| Owner | bigbes@gmail.com |
| Created | 2026-07-17T13:21:26Z |
| Updated | 2026-07-17T13:21:26Z |
etcd's v3lock/lock.go auto-grants a fresh 60s orphaned session lease when lease==0. app/etcd/lock.lua:154-157 returns 'etcdserver: lease is not provided'. Everything else about Lock matches (key format, queue order, unlock-by-anyone, lease-expiry release, both wires). Judgment call: test/lock_test.lua:37-40 actively PINS the divergent rejection, so someone chose this deliberately at some point — but it is recorded nowhere. Decide and record: either auto-grant to match etcd, or document the divergence and keep the test as the pin.
Either Lock(lease=0) auto-grants a default-TTL lease and the test is updated, or docs/TODO.md records the divergence with its rationale.
No outgoing dependencies.
Nothing depends on this issue.
| id | tarantool-etcd-5ya |
| content_hash | 9b560100fb333c692102636077dcdb38c0f9ff7d17a59383c291505c5fd395ec |
| title | Lock rejects lease=0 instead of auto-granting a session lease |
| description | etcd's v3lock/lock.go auto-grants a fresh 60s orphaned session lease when lease==0. app/etcd/lock.lua:154-157 returns 'etcdserver: lease is not provided'. Everything else about Lock matches (key format, queue order, unlock-by-anyone, lease-expiry release, both wires). Judgment call: test/lock_test.lua:37-40 actively PINS the divergent rejection, so someone chose this deliberately at some point — but it is recorded nowhere. Decide and record: either auto-grant to match etcd, or document the divergence and keep the test as the pin. |
| design | |
| acceptance_criteria | Either Lock(lease=0) auto-grants a default-TTL lease and the test is updated, or docs/TODO.md records the divergence with its rationale. |
| notes | |
| status | open |
| priority | 3 |
| issue_type | bug |
| assignee | NULL |
| estimated_minutes | NULL |
| created_at | 2026-07-17T13:21:26Z |
| created_by | Eugene Blikh |
| owner | bigbes@gmail.com |
| updated_at | 2026-07-17T13:21:26Z |
| closed_at | NULL |
| closed_by_session | |
| external_ref | NULL |
| spec_id | |
| compaction_level | 0 |
| compacted_at | NULL |
| compacted_at_commit | NULL |
| original_size | NULL |
| sender | |
| ephemeral | 0 |
| wisp_type | |
| pinned | 0 |
| is_template | 0 |
| mol_type | |
| work_type | |
| source_system | |
| metadata | <binary> |
| source_repo | |
| close_reason | |
| event_kind | |
| actor | |
| target | |
| payload | |
| await_type | |
| await_id | |
| timeout_ns | 0 |
| waiters | |
| hook_bead | |
| role_bead | |
| agent_state | |
| last_activity | NULL |
| role_type | |
| rig | |
| due_at | NULL |
| defer_until | NULL |
| no_history | 0 |
| started_at | NULL |
| is_blocked | 0 |
| issue_id | tarantool-etcd-5ya |
| label | etcd-changelog-sweep |
| id | 019f703d-30ae-7d81-b54b-38118b2386ec |
| issue_id | tarantool-etcd-5ya |
| event_type | created |
| actor | Eugene Blikh |
| old_value | |
| new_value | |
| comment | NULL |
| created_at | 2026-07-17T16:21:26Z |
| id | 019f703d-30af-7461-99c4-43bf7a8fd1fa |
| issue_id | tarantool-etcd-5ya |
| event_type | label_added |
| actor | Eugene Blikh |
| old_value | NULL |
| new_value | NULL |
| comment | Added label: etcd-changelog-sweep |
| created_at | 2026-07-17T16:21:26Z |
No comments.