Open
Description
Step 0: Are you in the right place?
- For issues or feature requests related to the code in this repository
file a Github issue.- If this is a feature request please use the Feature Request template.
- For general technical questions, post a question on StackOverflow
with thefirebase
tag. - For general (non-iOS) Firebase discussion, use the firebase-talk
google group. - For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support. - Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
- Xcode version: 11.6
- Firebase SDK version: 6.28.1
- Firebase Component: Database
- Component version: 6.28.1
- Installation method:
Carthage
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
If you call setValue
on a DatabaseReference
with a value that is larger than the allowed write limit of 16mb (my case was 19mb), the supplied completion handler is never called. Furthermore any subsequent updates from the client are never synced to the server.
I have not created a project to demostrate the issue as I think that it is fairly easy to reproduce.
If you wish, I could create a reproduction.
Relevant Code:
let value = <something really big. like a dictionary from a string to a base64-encoded and really large image>
ref.setValue(value, withCompletionBlock: { error, _ in
print("Never reached")
})
// sleep for a while
otherRef.setValue(smallValue)
// smallValue never reaches the server