akka/akka-core
give users options to control the starting up behavior of the distributed data local replicator
オープン
#29,948 opened on 2021/01/13
1 - triagedhelp wantedt:distributed-data
Repository metrics
- Stars
- (13,277 個のスター)
- PR merge metrics
- (平均マージ 8d 19h) (30d で 10 merged PRs)
説明
Currently, the distributed data local replicator behaves like the following.
- the replicator first tries to load everything stored in the local durable storage.
- if there is any deserialization failure, the replicator crashes, or keep retrying. the concequence is that the replicator does not participate in the ddata cluster and does not handle any commands.
It would be great if users can specify in the config file which durable keys must be fully loaded during (re)starting. For other keys that are not among these, the replicator should just log an error and ignore the deserialization failure.
one example that can benefit from this is to use ddata as a schema registry. at starting time, only the schema files stored with a schema durable key need to be 100% loaded, the other serializers will rely on the loaded schemas to deserialize data in other durable keys.