95p3ione61et5d2kb54mic2bqis8uf1j · 176 rows
| id | issue_id | event_type | actor | old_value | new_value | comment | created_at |
|---|---|---|---|---|---|---|---|
| 8ce5904b-3788-4480-95ba-f0419b7dae79 | tarantool-etcd-gz4 | created | Eugene Blikh | NULL | 2026-05-19T17:53:52Z | ||
| 8d49ce84-20c5-4706-8147-6bd291eb742a | tarantool-etcd-6lj | created | Eugene Blikh | NULL | 2026-05-19T17:53:56Z | ||
| 8d9d43c2-3fde-477f-909e-6692642d0f7a | tarantool-etcd-wgx | created | Eugene Blikh | NULL | 2026-05-19T17:54:05Z | ||
| 8f006977-caeb-4d40-91f5-5729202da50a | tarantool-etcd-lac | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m1-conformance | 2026-05-21T14:37:01Z |
| 91dd9f8a-46c8-4fa9-9990-b5ef64d21db8 | tarantool-etcd-0us | created | Eugene Blikh | NULL | 2026-05-19T17:54:32Z | ||
| 95dd1a81-ac4a-443e-9357-0231ae710df4 | tarantool-etcd-2al | created | Eugene Blikh | NULL | 2026-05-19T17:54:10Z | ||
| 971efdd2-4c2d-4e23-989d-a3b173635b97 | tarantool-etcd-95d | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m3-performance | 2026-05-21T14:37:06Z |
| 9942c15d-10dd-4175-b258-d3eac38cbf68 | tarantool-etcd-sy6 | created | Eugene Blikh | NULL | 2026-05-19T17:53:56Z | ||
| 999323d2-60cd-4dc1-a096-4e436ea35bc4 | tarantool-etcd-hx9 | created | Eugene Blikh | NULL | 2026-05-19T17:54:20Z | ||
| 9b79f027-150f-4e67-af21-fc1aceb1d5d0 | tarantool-etcd-h8r | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:09Z |
| 9cbfc22b-99de-4a5a-a30e-b9b8a3254ddd | tarantool-etcd-g1a | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:19Z |
| 9d480c92-7d70-47cb-99dc-2aaaadf079ad | tarantool-etcd-cz5 | created | Eugene Blikh | NULL | 2026-05-19T17:54:41Z | ||
| a0f6b20f-3fa3-4cdc-92dc-7938c23f5813 | tarantool-etcd-16d | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m2-production | 2026-05-21T14:37:06Z |
| a19c7caf-7c98-4289-86e0-3dd93b81e977 | tarantool-etcd-ag2 | created | Eugene Blikh | NULL | 2026-05-19T17:54:06Z | ||
| a6ba274a-ec98-458f-bee7-9adf6813ee55 | tarantool-etcd-nbs | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m2-production | 2026-05-21T14:37:03Z |
| a7faf4c8-09db-49e7-869c-71eb768f9141 | tarantool-etcd-buq | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m1-conformance | 2026-05-21T14:36:47Z |
| a8502a35-86bd-48dd-a91e-07a1eae52298 | tarantool-etcd-cpp | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m3-performance | 2026-05-21T14:37:07Z |
| aa4111f8-1de1-43bc-a615-93586335d78b | tarantool-etcd-axs | created | Eugene Blikh | NULL | 2026-05-20T09:45:14Z | ||
| ac2bcd97-4264-4232-ad15-36320508eff3 | tarantool-etcd-4nr | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:16Z |
| ad2500dc-5e99-4b7b-b828-7c7be8323f5b | tarantool-etcd-ak9 | created | Eugene Blikh | NULL | 2026-05-19T17:54:03Z | ||
| ae980e19-525b-489c-9824-5dddc5ed8dc9 | tarantool-etcd-2pa | created | Eugene Blikh | NULL | 2026-05-19T17:54:12Z | ||
| ae9f2671-c7f7-4da5-8fa2-cfc2c65d2ea6 | tarantool-etcd-1tw | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m2-production | 2026-05-21T14:37:04Z |
| aedaf13b-63f5-424d-a0e6-6fe22cce2af7 | tarantool-etcd-q5f | created | Eugene Blikh | NULL | 2026-05-20T09:45:16Z | ||
| b0e19218-53ed-4843-ba7d-4462da9c2ae1 | tarantool-etcd-8ss | closed | Eugene Blikh | Example written and verified end-to-end on Tarantool EE 3.7.0. | NULL | 2026-05-20T14:38:01Z | |
| b159889e-8fec-4a8a-ab60-f55063a86e08 | tarantool-etcd-ovo | created | Eugene Blikh | NULL | 2026-05-20T09:45:16Z | ||
| b16d8be3-aaad-4f74-b1c3-d62ddb2be376 | tarantool-etcd-50g | created | Eugene Blikh | NULL | 2026-05-19T17:54:19Z | ||
| b193168a-3a3c-47c0-89a7-049261d601b9 | tarantool-etcd-umc | created | Eugene Blikh | NULL | 2026-05-20T09:45:13Z | ||
| b33d558d-b27a-42be-9bcb-c54ff0af7049 | tarantool-etcd-1tw | created | Eugene Blikh | NULL | 2026-05-20T09:55:24Z | ||
| b6ab8af9-f3dc-48fe-b30c-223f9fe0fb59 | tarantool-etcd-w5r | created | Eugene Blikh | NULL | 2026-05-19T17:54:43Z | ||
| b8e57f80-deb4-4d00-9e57-85ddef884982 | tarantool-etcd-0gn | claimed | Eugene Blikh | {"id":"tarantool-etcd-0gn","title":"Implement Watch extras: filters, progress_notify (periodic), fragment","description":"WatchCreateRequest fields filters (NOPUT/NODELETE), progress_notify periodic notify, and fragment (large-response splitting) are declared in pb/defs.lua but ignored by create_watcher/grpc.lua/json.lua. On-demand RequestProgress already works. Implement the missing three.","status":"open","priority":2,"issue_type":"feature","owner":"bigbes@gmail.com","created_at":"2026-05-20T06:35:53Z","created_by":"Eugene Blikh","updated_at":"2026-05-20T06:35:53Z"} | {"assignee":"Eugene Blikh","status":"in_progress"} | NULL | 2026-05-20T09:35:59Z |
| ba878427-f6e7-40e5-a96f-0a41c5357472 | tarantool-etcd-m1n | created | Eugene Blikh | NULL | 2026-05-19T17:54:47Z | ||
| bcea305e-5ca6-4623-8b11-710a5a27b86f | tarantool-etcd-828 | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:18Z |
| beca352f-1006-4b4f-8d9e-65a76a3f674e | tarantool-etcd-1dk | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m2-production | 2026-05-21T14:37:04Z |
| c0beb3fb-6fd4-4d27-8652-a98fc096c766 | tarantool-etcd-234 | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m3-performance | 2026-05-21T14:37:08Z |
| c1386207-32df-49c3-b25c-ee876836ea2f | tarantool-etcd-buq | created | Eugene Blikh | NULL | 2026-05-19T16:34:52Z | ||
| c414b76a-3624-4dfd-818b-f089ff9db282 | tarantool-etcd-unw | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m2-production | 2026-05-21T14:37:03Z |
| c5de34b0-c93e-4818-ae30-6aa927aede67 | tarantool-etcd-9z2 | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m1-conformance | 2026-05-21T14:37:00Z |
| c6b02065-1911-4de5-8c58-703f1b1692a0 | tarantool-etcd-acp | created | Eugene Blikh | NULL | 2026-05-19T17:53:51Z | ||
| c880b8b0-ed63-4ece-b5de-692020db5a8e | tarantool-etcd-kbc | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m1-conformance | 2026-05-21T14:37:00Z |
| c9078539-4e4c-4834-97ee-a664a9929575 | tarantool-etcd-w5r | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:12Z |
| c96c50eb-e2fe-408f-963c-a7e10063d341 | tarantool-etcd-3c2 | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:20Z |
| cb892177-bcbc-4882-91f0-1785edb94ff0 | tarantool-etcd-070 | created | Eugene Blikh | NULL | 2026-05-19T17:53:57Z | ||
| ccedcf22-e6e2-405a-8858-3f9736f1fa40 | tarantool-etcd-jg3 | created | Eugene Blikh | NULL | 2026-05-20T09:17:53Z | ||
| cec28fbf-5a6f-4db7-b464-7e342c8db297 | tarantool-etcd-75u | created | Eugene Blikh | NULL | 2026-05-20T09:17:55Z | ||
| d03951d3-60b2-45c7-840f-7d0341f72993 | tarantool-etcd-wqn | created | Eugene Blikh | NULL | 2026-05-19T17:54:30Z | ||
| d2e53a79-8623-4b49-bb6e-49bbf78e2cec | tarantool-etcd-584 | created | Eugene Blikh | NULL | 2026-05-19T17:53:53Z | ||
| d635b4b2-1fd9-464f-b4b5-d6cc4ce38eef | tarantool-etcd-sqv | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:11Z |
| d6b47667-9634-4546-8b96-39a6728f21dd | tarantool-etcd-b08 | created | Eugene Blikh | NULL | 2026-05-19T16:34:09Z | ||
| da7cd87b-3369-4644-93f4-161970cc913d | tarantool-etcd-hx9 | label_added | Eugene Blikh | NULL | NULL | Added label: milestone:m4-iproto-parity | 2026-05-21T14:37:20Z |
| daf8dd2b-bb5f-4961-8464-27cd5bddd3f5 | tarantool-etcd-3sp | updated | Eugene Blikh | {"id":"tarantool-etcd-3sp","title":"LeaseKeepAlive fsyncs WAL on every renew","description":"On btrfs SSD bench (2026-05-19 disk run), LeaseKeepAlive/n_X drops from 4 234 ops/s (tmpfs) to 207 ops/s on tarantool while etcd holds at ~7 400 ops/s in both configs.\n\np50 goes from 224 µs (tmpfs) to 4 548 µs (disk) — exactly one btrfs fsync. Root cause at app/etcd/lease.lua:191:\n\n box.space.leases:update(id, {{'=', 'expiry_time', now + lease.ttl}})\n\nThe leases space is is_sync=true so every keep-alive does a full WAL append + fsync. Etcd's KeepAlive is an in-memory TTL bump with no disk write.\n\nFix sketch: split expiry into an in-memory map (refreshed on every KeepAlive) and persist only on grant/revoke. The expiry fiber should read from the in-memory map. Trade-off: leases may extend further into the future than the on-disk record after a crash, which is fine — clients have to re-keep-alive after reconnect anyway.\n\nSee docs/BENCH.md Linux x86_64 disk section (Open follow-ups).","status":"open","priority":2,"issue_type":"bug","owner":"bigbes@gmail.com","created_at":"2026-05-19T17:33:47Z","created_by":"Eugene Blikh","updated_at":"2026-05-19T17:33:47Z"} | {"design":"GOAL: lease keep-alive must not touch the WAL. Mirror etcd's split — durable\nstate = {lease record, granted TTL, attached keys}; ephemeral leader-local\nstate = the expiry deadline (refreshed on every keep-alive, never persisted).\n\n=== STATE MODEL ===\nAdd a module-level in-memory map in app/etcd/lease.lua:\n local deadlines = {} -- [lease_id] = monotonic deadline (clock.monotonic()+ttl)\nThis is leader-local. Followers never keep-alive (the gRPC write gate routes\nLeaseKeepAlive to the leader), and only the leader runs the expiry fiber and\ncan revoke. So the countdown is structurally a leader concern.\n\nThe `leases` space (schema.lua:97-118) stays is_sync=true and keeps its\n{id, ttl, expiry_time, granted_ttl} format. The `expiry_time` FIELD and its\nTREE index (schema.lua:113) become vestigial — written once at grant, never\nthe source of liveness again. Leave them to avoid a space migration; an\noptional follow-up can drop the field+index. Nothing reads expiry_time after\nthis change.\n\n=== HANDLER CHANGES (app/etcd/lease.lua) ===\n1. grant() ~L70: after `box.space.leases:insert(...)`, seed\n `deadlines[id] = now + ttl`. Insert still persists (durable, required).\n2. keepalive() ~L191: REPLACE\n box.space.leases:update(id, {{'=', 'expiry_time', now + lease.ttl}})\n with\n deadlines[id] = clock.monotonic() + lease.ttl\n Keep the `box.space.leases:get(id)` existence check above it (cheap read,\n no fsync) — it supplies lease.ttl and preserves the NOT_FOUND-raises\n contract the gRPC stream handler depends on (see L169-171).\n3. revoke() ~L150: after `box.space.leases:delete(id)`, clear\n `deadlines[id] = nil`.\n4. time_to_live() ~L236: REPLACE `lease.expiry_time` read with `deadlines[id]`.\n If deadlines[id] is nil (lease loaded but not yet rebuilt), fall back to\n `clock.monotonic() + lease.granted_ttl`. remaining = max(0, floor(dl - now)).\n5. expiry_loop() L287-338: REPLACE the `box.space.leases.index.expiry_time`\n scan (L302-309) with a scan of `deadlines`: collect ids where\n `deadline \u003c= now`. Plain full-table scan is fine (numeric compares in Lua,\n runs every 500ms); a min-heap (etcd's leaseExpiredNotifier shape) is the\n optional optimization if lease counts get large. revoke() already nils the\n map entry on success.\n\n=== REBUILD ON PROMOTE ===\nAdd lease.M.rebuild_deadlines():\n clears `deadlines`, then for each tuple in box.space.leases:pairs() sets\n deadlines[tuple.id] = clock.monotonic() + tuple.ttl\nCall it in the RW branch of the box.watch('box.status', ...) callback in\napp/roles/etcd.lua (L341-353), immediately before lease.start_expiry().\nThis resets every inherited lease's deadline to a full-TTL grace period on the\nnew leader — exactly etcd's failover behavior.\n\n=== LATENT BUG THIS ALSO FIXES ===\nexpiry_time is currently computed as clock.monotonic()+ttl and REPLICATED.\nclock.monotonic() is process-local (relative to boot), so the persisted value\nis meaningless on any other node. Today a promoted replica's fiber scans\ninherited expiry_time values from a different monotonic timeline — could\nexpire leases instantly or never. Rebuild-on-promote with the new leader's own\nclock removes this entirely."} | NULL | 2026-05-20T07:39:02Z |