I'm using App Engine with the eventually-consistent High Replication Data Store. I'm also using sharded counters.
When I query for all of the shards and sum them up, can I assume the counts are strongly consistent? That is, will the below code return an accurate sum of my shard counts?
sum = 0
for counter in Counter.all():
sum += counter.count
my_sum=sum(counter.count for counter in Counter.all()), and of course calling a variablesumis asking for problems. - hochl