Commit Graph
32 Commits
Author SHA1 Message Date
komissarovyv 6cd0b2c712 Add internal module leader recompute event
The queue gets a payload kind of its own to recompute a module leader, with the
compaction key module_leader_<moduleId> so the collapse of ready and
disconnected into one module_lifecycle_<moduleId> event cannot swallow it.

The event is inserted next to the events of the same change: on a connect, on a
disconnect by WebSocket close, and on the phantom cleanup of the own node.
Graceful shutdown by DeleteOwnBackends keeps inserting no events. The payload
carries the leader address before and after the change, derived from the module
instances that are already loaded, so the event worker reads nothing from the
database. No new columns, no new tables, no new migrations.
2026-11-18 21:29:23 +03:00
komissarovyv bd8a1b2de4 Add module_leader_mode column to connected instances 2026-11-18 19:31:10 +03:00
Синельник Тимур Романович 428de36857 MSP-8394 Up deps & use isp-kit/errors 2026-09-25 13:45:02 +03:00
Синельник Тимур Романович c295bda53b MSP-7042 Up deps & support http methods and transport 2026-02-11 16:13:03 +03:00
Kirill Ryabov 22bfe6f2a1 MSP-5579 enrich Backend struct with MetricsAutodiscovery field & add MetricsAdWrapper struct 2025-06-09 14:52:49 +03:00
Кузнецов Иван Александрович 29c1a4deeb MSP-5223 update .golangci.yml + fix linters 2025-04-11 14:15:30 +03:00
komissarovyv ecf2d06cfa MSP-5013 add full variable support 2025-03-05 18:10:07 +03:00
komissarovyv d6a8f77610 MSP-5013 Update doc 2025-03-03 17:32:13 +03:00
komissarovyv 7aa2805f4c Clean phantom backends 2024-11-01 18:41:17 +03:00
d1slike 8275c01d21 Align to CI 2024-05-15 12:44:39 +03:00
d1slike 3b34468842 Improve logging 2024-05-14 14:34:13 +03:00
d1slike cddd3383e8 Implement api 2024-05-12 16:35:33 +03:00
d1slike c6148a1c1c Implement api 2024-05-08 18:45:21 +03:00
d1slike b2e34c00a4 Implement api 2024-05-08 15:40:14 +03:00
d1slike 80a99c425b Implement event stream 2024-05-07 20:16:44 +03:00
d1slike c4abdaa54b Implement lifecycle 2024-05-06 20:09:14 +03:00
d1slike 8a2a65d8ed Implement lifecycle 2024-05-06 09:43:11 +03:00
d1slike 4e96b7a930 Reimplement 2024-05-03 17:46:22 +03:00
Рябов Владислав Олегович 1c28c895b5 add new config methods 2020-09-24 22:08:50 +03:00
DeniskaRediska a3576cc3f4 add created_at for version_config 2020-07-10 19:38:35 +03:00
DeniskaRediska 15ad05277b add config version 2020-06-08 18:39:25 +03:00
Maxim Merzhanov 652d1c8c4f update isp-lib and go-pg 2020-03-23 11:16:30 +03:00
Maxim Merzhanov bfb03c6d1e migrate to go modules 2020-03-16 14:20:10 +03:00
Maxim Merzhanov 1fa20f9cda add linter, refactor 2020-03-12 13:12:43 +03:00
Maxim Merzhanov 1317696cb7 - update CreateUpdateCommonConfig doc
- remove required from ids
2019-10-28 19:10:26 +03:00
Maxim Merzhanov 9e503ab31f implement grpc api 2019-10-25 12:18:34 +03:00
Maxim Merzhanov e05319432e add handling CONFIG:SEND_CONFIG_WHEN_CONNECTED, update modules state 2019-10-11 16:59:25 +03:00
Maxim Merzhanov a2a470ad93 refactor, change id to string 2019-10-10 15:05:57 +03:00
ykomissarov 78150b2661 remove unnecessary codes 2019-10-10 13:16:49 +03:00
Maxim Merzhanov 445389b7d8 - implement raft logger
- replace logger with isp-log
- add storage layer (pq)
2019-10-10 11:18:29 +03:00
ykomissarov 48eaf48797 init 2019-08-01 14:47:54 +03:00
Andrey Savchuk fe88eed4a8 init 2019-01-29 15:45:34 +03:00