Strange behaviour of firebase transaction

后端 未结 1 388
深忆病人
深忆病人 2021-01-22 11:43

My firebase looks like this:

\"enter

This is test code (coffee script):

         


        
相关标签:
1条回答
  • 2021-01-22 12:22

    The transaction should eventually succeed, and run on the correct state of the data, but will initially run in an "uncached" state, meaning it will run against the client's local copy of the data (likely to be null), try to commit the change to the server (which will fail), and then re-try the transaction.

    This is normal, and expected. If, however, the transaction does not ever succeed, I would recommend reaching out to the support folks at support@firebase.com to continue troubleshooting the problem.

    0 讨论(0)
提交回复
热议问题