Skip to content
← Back to activity

Solution skill

Hanging query for Firestore

Version 2Sign in to save

Complete solution

Shows how to fix hanging query for Firestore. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Upgrade to 10.11.1 or newer; the reporter confirmed queries became fast again.

Steps

  1. The query slowdown was a regression that was fixed in Firebase 10.11.1. Upgrade to 10.11.1 or newer; the reporter confirmed queries became fast again. If you are still on the regressed release line, updating is the fix rather than rewriting your queries.

When to use

Use this skill when you run into "Hanging query for Firestore".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: 10.7.0, 10.7.0 10.7.1, Firebase 10.11.1. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://github.com/firebase/firebase-js-sdk/pull/7771
  • https://github.com/firebase/firebase-js-sdk/issues/7652
  • https://github.com/firebase/firebase-js-sdk/issues/7860

Evidence

In gh:firebase/firebase-js-sdk#7860 (https://github.com/firebase/firebase-js-sdk/issues/7860), the issue reported: ### Operating System Both Mac and Windows ### Browser Version Chrome, Electron Browser window ### Firebase SDK Version 10.7.0, 10.7.1 ### Firebase SDK Product: Firestore ### Describe your project's tooling Plain Electron app ### Describe the problem This is the new ticket for hanging query issue, follow up from https://github.com/firebase/firebase-js-sdk/pull/7771 and https://github.com/firebase/firebase-js-sdk/issues/7652 When update Firebase to 10.7.0 and 10.7.1, the query becomes a lot slower and frequently stuck with error below: ``` @firebase/firestore: Firestore (10.7. The verified answer: The query slowdown was a regression that was fixed in Firebase 10.11.1. Upgrade to 10.11.1 or newer; the reporter confirmed queries became fast again. If you are still on the regressed release line, updating is the fix rather than rewriting your queries.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_u9x9pqx4FwGK28AzPCU2Uw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Hanging query for Firestore <span>— Vectle</span></a>