Comments (2)
Hmmm the readpreference determines which server of the replica set will receive the operation. The slaveOk=true doesn't affect if the selected server is the primary, but it is needed when the selected server is secondary (there is an error, else).
But I'm on my phone now, I will check it later to corroborate.
from voyage.
There is a race condition. While we think serverA is primary it might have recently moved to serverB. We can't win this race on the client. Only the servers can.
from voyage.
Related Issues (20)
- Fix FFI and reactivate unqlite build HOT 2
- Review error scenario of full network outage (no replica can be reached) HOT 2
- Method #remove fails to remove object from MongoDB HOT 1
- Rewrite install script for travis HOT 1
- Refactor VOCollector
- Make save selectors with options available in object
- Unify querying interface
- P8 Win64: Voyage not installing HOT 1
- Arango: 2 tests with DNU HOT 5
- in VOSeedVersionGenerator >> #newVersion method throws DNU HOT 4
- VOMongoJSONSerializer have no references maybe we should remove it
- VOMongoRepository InstanceVariable host & port are unuse HOT 3
- [Voyage-mongo-tests] VOMongoTest class >> #isAbstract strange implementation HOT 2
- typo conflict on VOReadOperation & VOExternalRepository >> #synchronize: HOT 1
- why using UUID instead of VOSeedVersionGenerator HOT 2
- Mongo connections not being returned to pool HOT 1
- Links in Others are 404
- Select many with sort block fails HOT 1
- Remove ConfigurationOf* HOT 1
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 voyage.