-
Notifications
You must be signed in to change notification settings - Fork 886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@firebase/firestore: Firestore (10.5.0): FIRESTORE (10.5.0) INTERNAL ASSERTION FAILED: Unexpected state #7717
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Could you enable debug logging? The code seems to indicate that the Emulator is returning an unexpected result. Meaning, the root cause might exist in the emulator, and not the SDK. Some more information will help clarify that. What version of the emulator are you using? Some context might also be helpful. The error is related to data that is being written to Firestore. What type of write operations are you performing? Are these update, set or delete operations? |
Thanks @tom-andersen, some direction would be helpful We enabled Also: how can we tell what version of the emulator we are using? |
I would also note that we routinely see a case where
... simply never finishes. Reloading the browser is the only way to fix it, but it routinely comes back, and this is a catastrophic problem for a single page app. |
Linking related firebase-tools/6432. Also: we can reproduce and fixed this. It was related to a We would expect that Firestore would queue these requests. We resolved it by adding a singleton/cache for the request. |
The bug was introduced in 10.4.0. We are reverting the change and working on a long term fix.
|
Sorry, seeing the current version isn't trivial.
What I really want to make sure is that you are running an up to date emulator. If starting emulator with
If starting emulator with
|
|
Thanks for the great info @tom-andersen . We ought to be using a recent emulator because we routinely reinstall from a docker image for testing. Is there anything actionable on this now? If we experience it again we can re-open, or we can leave it open and I will follow-up as we try new versions. |
I don't think this hanging |
@brianmhunt Yes, please let us know if you experience this again. We need more context or debug info to make progress on this. |
Hey @brianmhunt. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @brianmhunt if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
[REQUIRED] Environment info
firebase-tools: 12.7.0
Platform:. Codespace/Ubuntu.
[REQUIRED] Test case
Unable to reproduce, sorry. Error emits from mutation:624 in
serverTransformResults
, specifically:The stack trace does not show where this occurs.
[REQUIRED] Steps to reproduce
In our app when using the emulator this is occurring infrequently but regularly. It is a complex and we cannot easily narrow the trigger point.
It did not occur with 9.x.
[REQUIRED] Expected behavior
Firestore actions should perform
[REQUIRED] Actual behavior
Noted error.
Related: firebase/firebase-tools#1073
All we seem to see in the
firestore-debug.log
is:I appreciate this may be difficult to reproduce but I wanted to at least note it for visibility and discovery. If we get more info we will share.
Thank you!
The text was updated successfully, but these errors were encountered: