photoncloud-monorepo/docs/por/T003-feature-gaps/chainfire-gaps.md
centra a7ec7e2158 Add T026 practical test + k8shost to flake + workspace files
- Created T026-practical-test task.yaml for MVP smoke testing
- Added k8shost-server to flake.nix (packages, apps, overlays)
- Staged all workspace directories for nix flake build
- Updated flake.nix shellHook to include k8shost

Resolves: T026.S1 blocker (R8 - nix submodule visibility)
2025-12-09 06:07:50 +09:00

1.4 KiB

Chainfire Feature Gap Analysis

Date: 2025-12-08 Implementation Status: 62.5% (20/32 features)

Summary

Core KV operations working. Critical gaps in etcd compatibility features.

Gap Analysis

Feature Spec Section Priority Complexity Notes
Lease Service 5.3 P0 Medium (3-5 days) No gRPC Lease service despite lease_id field in KvEntry. No TTL expiration worker.
Read Consistency 5.1 P0 Small (1-2 days) No Local/Serializable/Linearizable implementation. All reads bypass consistency.
Range in Transactions 5.2 P0 Small (1-2 days) Returns dummy Delete op (kv_service.rs:224-229). Blocks atomic read-then-write.
Transaction Responses 5.2 P1 Small (1-2 days) TODO comment in code - responses not populated.
Point-in-time Reads 5.1 P1 Medium (3-5 days) Revision parameter ignored.
StorageBackend Trait 5.4 P1 Medium (3-5 days) Spec defines but not implemented.
Prometheus Metrics 9 P1 Small (1-2 days) No metrics endpoint.
Health Checks 9 P1 Small (1 day) No /health or /ready.

Working Features

  • KV operations (Range, Put, Delete)
  • Raft consensus and cluster management
  • Watch service with bidirectional streaming
  • Client library with CAS support
  • MVCC revision tracking

Effort Estimate

P0 fixes: 5-8 days P1 fixes: 10-15 days Total: ~2-3 weeks focused development