-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove LightningDB reference in cluster sharding, make ddata non-durable as default #5175
Remove LightningDB reference in cluster sharding, make ddata non-durable as default #5175
Conversation
@@ -184,8 +184,10 @@ akka.cluster.sharding { | |||
distributed-data { | |||
# minCap parameter to MajorityWrite and MajorityRead consistency level. | |||
majority-min-cap = 5 | |||
|
|||
durable.keys = ["shard-*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you recall why we added this in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was in the official JVM reference.conf, I didn't know that our default value is different than theirs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it seems that our issue really comes down to the .NET LightningDb packages not having all of the native dependencies they need. We'll add this setting back when we move the default for Akka.Cluster.Sharding state store mode away from persistence and to DData.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
# Uncomment this line if you want to use the durable version of DData and make sure that | ||
# you also reference the Akka.DistributedData.LightningDB nuget package. | ||
# durable.keys = ["shard-*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure we tell users to add this setting back in the documentation (in the other PR you're working on)
No description provided.