-
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
ORSet with large data faces maximum-frame-size limitation during sync #7250
Comments
I guess we'll need to sanity check to see whether or not this setting is actually being honored by DData, so we'll follow up on that. As a work-around you can increase the Akka.Remote akka {
remote {
dot-netty.tcp {
maximum-frame-size = 1 MiB
send-buffer-size = 2 MiB
receive-buffer-size = 2 MiB
}
}
}
|
Looks like we did address a bug related to this in #5157 - is it possible that the elements in your |
This seems to be two separate issues. The element in I tried to debug it, but I'm not familiar with the Akka source code. I only know that it retrieves the entire
|
Currently we do not have any settings that chunks the ORSet entries itself inside a gossip. |
Version Information
Version of Akka.NET?
1.5.13
Which Akka.NET Modules?
Akka.DistributedData
Describe the bug
I am learning to use Distributed Data and know that
ORSet
can be used to store data sets. So, I tested its capacity by writing the following code to generate a largeORSet
:As you can see, this is a dataset consisting of 20,000 strings. There were no issues during this process. However, when I started another Node and attempted to sync the data, the node containing the data threw the following error:
I started trying to adjust parameters, mainly
distributed-data.max-delta-elements
, but it had no effect. I suspect thatmax-delta-elements
is used to split multipleIReplicatedData
, while the entireORSet
is considered as one. Is that correct? This confuses me as ORSet'sIDeltaReplicatedData
andmax-delta-elements
don't seem to be actually related.Expected behavior
The expected behavior is that
ORSet
syncs data incrementally in the background, unless the code explicitly reads it. Themaximum-frame-size
limitation should apply to individual elements within the collection, not the entireORSet
.Environment
Are you running on Linux? Windows? Docker? Which version of .NET?
.net framework 4.7.2
The text was updated successfully, but these errors were encountered: