You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO][05-Jan-18 10:18:42][Thread 0019][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[6, 1]])
[INFO][05-Jan-18 10:18:43][Thread 0019][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[6, 1]])
[INFO][05-Jan-18 10:18:44][Thread 0020][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[0, 1]])
[INFO][05-Jan-18 10:18:45][Thread 0005][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[0, 1]])
[INFO][05-Jan-18 10:18:46][Thread 0019][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[4, 1]])
[INFO][05-Jan-18 10:18:47][Thread 0005][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[4, 1]])
[INFO][05-Jan-18 10:18:48][Thread 0026][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[8, 1]])
[INFO][05-Jan-18 10:18:49][Thread 0003][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[8, 1]])
[INFO][05-Jan-18 10:18:50][Thread 0019][[akka://TestSystem/user/$a#92655313]] Counters! Some (seq [[2, 1]])
As I understand, the map is replaced in every ddata.AsyncUpdate(key, PNCounterDictionary.Empty.Increment(cluster, counterKey), Consistency.writeLocal) with a new PNCounterDictionary (containing single key). I expect it to be merged with the previous map.
The questions are:
am I doing updating right?
if I am, is it a bug?
Also, it would be very useful if some ddata usage examples were added in form of docs or example snippets.
Not 100% sure it's related but found interesting behaviour on the ORSet with lmdb enabled.
The AsyncGet (and GetAsync directly - same story) doesn't load the saved state from the db but AsyncGet followed by AsyncUpdate (with returned state) followed by AsyncGet gets everything loaded.
ORMultiMap has the same behaviour - AsyncGet doesn't read the storage until AsyncUpdate.
Do I need to send some kind of a warm-up message to the replicator maybe?
Sorry if I'm missing something obvious.
Running it all with the latest Akka beta
I'm trying to use
PNCounterDictionary
:(node 1)
(node 2)
output (node 2):
As I understand, the map is replaced in every
ddata.AsyncUpdate(key, PNCounterDictionary.Empty.Increment(cluster, counterKey), Consistency.writeLocal)
with a newPNCounterDictionary
(containing single key). I expect it to be merged with the previous map.The questions are:
Also, it would be very useful if some ddata usage examples were added in form of docs or example snippets.
C# DData DSL works:
The text was updated successfully, but these errors were encountered: