Python/C Client - Counter - version 2.0.3


#1

Hi,
We are using 64 bit counters and when we try to increase a counter with large values we get the following exception:
<Bad/insufficient arguments provided, inner_cause=int too big to convert, C Source=(src/counter.c,142)>

When doing the same increments with the Java client, we do not get these errors as the signature is long and not int.
Shouldn’t the APIs be identical in both languages?


#2

Can you provide code to reproduce? The C SDK accepts an int64_t, and likewise the Python client passes a long long to the C SDK. The effective limit for a counter increment or decrement is +/- (1^63) -1, in other words, a signed 64 bit value.