
Ping QiuandClaude Opus 4.6
531ee764ee
feat: Phase 5 CP5-3 -- CHAP auth, online resize, Prometheus metrics, 12 tests
CHAP authentication (RFC 7143 S12.1):
- auth.go: CHAPAuthenticator with MD5 challenge-response, ValidateCHAPConfig
- login.go: multi-PDU SecurityNeg flow (challenge → verify → transit)
- main.go: -chap-user/-chap-secret CLI flags with validation
Online volume expand:
- blockvol.go: Expand() with flusher pause, snapMu TOCTOU guard, alignment check
- Rejects shrink (ErrShrinkNotSupported) and resize with active snapshots
Prometheus metrics:
- metrics.go: metricsAdapter wrapping BlockDevice, 15 metrics (counters,
histograms, gauge funcs for WAL/dirty-map/epoch/role/snapshots)
- Dedicated prometheus.NewRegistry() per server instance
Admin HTTP endpoints:
- POST /snapshot (create/delete/restore/list)
- POST /resize (online expand)
- GET /metrics (Prometheus text format)
- VolumeSize added to /status response
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 01:43:42 -08:00
..
2026-02-20 18:42:00 -08:00
2026-03-03 01:43:42 -08:00
2026-02-16 15:09:01 -08:00
2026-02-11 11:04:08 -08:00
2026-02-13 15:47:29 -08:00
2026-02-20 18:42:00 -08:00
2025-06-16 22:25:22 -07:00
2026-02-13 15:47:29 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2025-10-26 22:48:58 -07:00
2025-10-26 22:48:58 -07:00
2026-01-28 17:21:14 -08:00
2026-01-01 19:20:59 -08:00
2026-02-02 17:55:04 -08:00
2026-02-19 13:30:59 -08:00
2026-01-28 17:21:14 -08:00
2026-02-11 14:17:21 -08:00
2026-02-24 07:32:13 -08:00
2025-12-15 21:39:27 -08:00
2023-03-08 01:48:28 -08:00
2024-11-21 00:37:38 -08:00
2024-06-02 14:12:25 -07:00
2022-11-14 00:19:27 -08:00
2026-03-02 09:34:00 -08:00
2026-03-02 11:34:06 -08:00
2025-11-17 21:19:55 -08:00
2025-12-02 17:00:05 -08:00
2026-01-23 16:38:36 -08:00
2026-02-16 15:09:01 -08:00
2026-02-16 15:09:01 -08:00
2025-10-20 16:11:29 -07:00
2026-01-28 17:21:14 -08:00
2026-02-06 10:58:43 -08:00
2025-06-30 13:57:28 -07:00
2026-02-16 02:15:14 -08:00
2026-02-06 10:58:43 -08:00
2019-04-17 22:04:49 -07:00
2025-06-16 22:05:06 -07:00
2026-02-13 15:47:29 -08:00
2026-02-13 15:47:29 -08:00
2022-07-29 00:17:28 -07:00
2026-01-29 14:16:42 -08:00
2026-01-16 19:19:18 -08:00
2022-11-23 15:59:38 -08:00
2026-01-28 17:21:14 -08:00
2026-02-08 19:08:10 -08:00
2026-01-16 19:19:18 -08:00
2025-06-16 22:25:22 -07:00
2026-02-16 02:15:14 -08:00
2026-02-16 14:44:37 -08:00
2026-01-28 17:21:14 -08:00
2025-10-16 12:21:51 -07:00
2025-07-30 12:38:03 -07:00