Skip to content

datastore emulator invokes callback early with multiple save/delete #1669

@rommguy

Description

@rommguy

Environment details

  • OS: OSX 10.11.3
  • Node.js version: 6.2.1
  • npm version: 3.10.7
  • google-cloud-node version:
    • Google Cloud SDK 128.0.0
    • beta 2016.01.12
    • bq 2.0.24
    • bq-nix 2.0.24
    • cloud-datastore-emulator 1.2.1
    • core 2016.09.23
    • core-nix 2016.06.24
    • gcd-emulator v1beta3-1.0.0
    • gcloud
    • gsutil 4.21
    • gsutil-nix 4.19

Steps to reproduce

  1. require google-cloud
  2. create datastore with project ID
  3. call datastore.save with multiple entities
  4. in the save callback, read the existing entities in the db
  5. only some of the entities that were saved are there, number of existing entities looks random, usually not all of them have been created.

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions