-
Notifications
You must be signed in to change notification settings - Fork 150
Rollback calls failing silently after invalid pack error #91
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
Comments
Thanks for reporting, will investigate this. Regards |
For objects, silently drop undefined fields. For arrays, convert undefined entries to null. (Supporting true undefined values in arrays would require protocol changes, so null seems good enough for now) Related to neo4j#91
For objects, silently drop undefined fields. For arrays, convert undefined entries to null. (Supporting true undefined values in arrays would require protocol changes, so null seems good enough for now) Related to neo4j#91
I have merged your PR now, are you fine with closing this issue now @kpdecker ? The issue of gracefully failing when the packer sees a type it doesn't know about is a bigger issue since it may already have written to the channel so it could be in a weird state. I'd like to think about that a little before we do something about it. |
Ideally there would be some sanity checks for corruption of the binary protocol, but I'm not sure of an easy way to achieve this. The initial issue is fixed though, so your call on closing. |
@kpdecker Yeah I will try to fix this properly, soonish so I'll leave it open |
When rolling back after this root error:
the promise fails to reject or resolve:
Trying to log through this a bit, I found the following:
To which the server responded:
Client Instance:
Database Instance:
So after all of that, my concerns are:
The text was updated successfully, but these errors were encountered: