pauloricardomg opened a new pull request, #351:
URL: https://github.com/apache/cassandra-sidecar/pull/351

   ## Summary
   
   Introduces the pluggable overlay storage abstraction as defined in CEP-62 
for managing Cassandra configuration via Sidecar.
   
   - **CassandraConfigurationOverlay**: Immutable model with version-agnostic 
`cassandraYaml` (JsonNode) and `extraJvmOpts`, with `updated()` centralizing 
merge logic for both components
   - **ConfigurationOverlaySnapshot**: Wrapper with lazily computed cached 
SHA-256 content hash and last modified timestamp
   - **ConfigurationProvider**: Pluggable storage interface with 
`getConfiguration` and `storeConfiguration` using hash-based optimistic 
concurrency
   - **InMemoryConfigurationProvider**: Sample implementation with per-instance 
locking
   
   ## Test Plan
   
   - CassandraConfigurationOverlayTest: object validation, yaml and jvm opts 
merge
   - ConfigurationOverlaySnapshotTest: hash determinism, caching, format
   - InMemoryConfigurationProviderTest: store/get, optimistic concurrency, 
instance isolation, concurrent access
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to