Comments (9)
Any comments? By the way it seems the same behavior on FirebaseDatabase version 3.1.2.
from firebase-ios-sdk.
Can you tell us how you are running the transactions multiple times? Do you wait for the transactions to complete before running them again?
It would also help to get debug output from your app. As one of the first lines in your app, please set "Database.setLoggingEnabled(true)". You also need to pass -FIRDebugEnabled to your app to make the logs appear.
from firebase-ios-sdk.
Yes, application runs multiple transactions one after another. And no, application doesn't wait for transaction completion before running the next one because it's called only in online mode. Do you mean that it's not possible to use multiple runTransactionBlock in offline? I didn't see such limitations in the documentation but maybe I have missed that. I will try to send log a little bit later.
from firebase-ios-sdk.
You can use multiple transactions when offline, but it changes the way we run them and if there is a race on the same database location, some transactions can get cancelled. I will be able to tell what's going on from the logs.
from firebase-ios-sdk.
@schmidt-sebastian It's strange but I cannot reproduce it now, maybe it was my mistake somewhere. So the issue can be closed at least for now.
from firebase-ios-sdk.
Thanks for following up @ab-rdarts. If this issue resurfaces in the future, please reopen this ticket.
from firebase-ios-sdk.
It's strange but I have the same problem with transaction during online
I've tried to add four times 100 to /jars/zv8qmAJ1IKPEQZkOUb0HNz52dB13/values/contributed
As a result I see 300 instead of 400, though I see 4 successful commits
from firebase-ios-sdk.
@schmidt-sebastian any comments about attached log?
from firebase-ios-sdk.
Closing this due to inactivity. Please re-open if this is still an issue.
from firebase-ios-sdk.
Related Issues (20)
- Analytics cinterop not working HOT 3
- RemoteConfig.remoteConfig().fetch() is not running on iOS 18/Xcode 16.0 Beta 1 HOT 4
- Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). HOT 1
- Token mismatch using iOS 18 Beta 1 HOT 8
- My Mac Game was rejected because Google Sign in does web based login? Can I do anything other than removing Google on Mac? HOT 5
- No token returned by AppCheck for multiples users HOT 2
- Nightly Testing Report HOT 4
- [FR]: Modify custom keys behavior to be consistent with Android HOT 1
- [v11] Recaptcha Enterprise integration HOT 2
- Error when building for docker - IsAppEncrypted.h:22:9: fatal error: 'objc/objc.h' file not found HOT 2
- Import XCFramework failed HOT 8
- LOGS & breadcrumbs view in firebase console are empty HOT 10
- Nightly Testing Report HOT 1
- Nightly Testing Report HOT 4
- [FR]: Callable Cloud functions are using ephermal configuration and there's no way to use a URLCache of its requests HOT 1
- Firebase Cloud Messaging not working with visionOS HOT 12
- Crash at FPRTraceBackgroundActivityTracker HOT 2
- crashes: pb_encode, EXC_BAD_ACCESS (code=1, address=0xa9065ff8d1028407) HOT 8
- crash when sdk init HOT 6
- Nightly Testing Report HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-ios-sdk.