Hi everyone!

While debugging the datastore behavior for a local unit test, I returned to 
the docs.

On this page:

https://cloud.google.com/appengine/docs/python/tools/localunittesting

there is a section about testing Datastore, followed by a separate section 
about testing High Replication Datastore. It was my understanding that HRD 
is just the old name of the Google Cloud Datastore, but the docs looks as 
if it were two separate things.

If the consistency policy is the only difference (the code suggests so), I 
would like to know what's the benefit to test with for example


*self.testbed.init_datastore_v3_stub(consistency_policy=datastore_stub_util.PseudoRandomHRConsistencyPolicy(probability=0)
 
*
(or 0.5, 1 etc.)

I understand the difference between strong consistency and eventual 
consistency, and that I can't run ancestor-less queries inside 
transactions, but I don't  understand why I would test for eventual 
consistency. Maybe I have blackout here.

Ani

-- 
HATZIS Edelstahlbearbeitung GmbH
Hojen 2
87490 Haldenwang (Allgäu)
Germany

Handelsregister Kempten (Allgäu): HRB 4204
Geschäftsführer: Paulos Hatzis, Charalampos Hatzis
Umsatzsteuer-Identifikationsnummer: DE 128791802
GLN: 42 504331 0000 6

http://www.hatzis.de/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cea936e6-585c-4326-8a6a-0cf5f33efa10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to