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
When incrementing some counters in a map in the same update request, all counters are incremented by the amount used in the last one that is processed in the loop. The pointer to the increment used while iterating the loop seems to be the problem (if it was passing just the value it would be ok, creating a copy does the trick).
Issue where incrementing multiple counters in a map at once will use the last value. Due to golang-specific behavior with regard to range variables and pointers.
Issue where incrementing multiple counters in a map at once will use the last value. Due to golang-specific behavior with regard to range variables and pointers.
When incrementing some counters in a map in the same update request, all counters are incremented by the amount used in the last one that is processed in the loop. The pointer to the increment used while iterating the loop seems to be the problem (if it was passing just the value it would be ok, creating a copy does the trick).
riak-go-client/crdt_commands.go
Line 748 in b15f3fa
The text was updated successfully, but these errors were encountered: