Skip to content

Batched writes failing in 8.6.2 #4953

@halloweenman

Description

@halloweenman

[REQUIRED] Describe your environment

Firebase hosting
Node v14.15.1

[REQUIRED] Describe the problem

A simple batch write, like that shown in your online example below will hang, no error message.

Our app was working fine in all versions prior to installing 8.6.2

Steps to reproduce:

Relevant Code:

// Get a new write batch
var batch = firebase.firestore().batch();

// Set the value of 'NYC'
var nycRef = firebase.firestore().collection("cities").doc("NYC");
batch.set(nycRef, {name: "New York City"});



// Commit the batch
batch.commit().then(() => {
    // ...
});

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions