Comments (3)
Oh, of course stale reads can happen when not using Strong Consistency mode which isn't available in the community edition. Any time there are multiple masters in AP (split brain) the client could update either and read either. When the split brain clears, Aerospike will have to conflict resolve records updated on different masters. AP conflict resolution policies give you the option to either keep the latest update or the update which likely preserves the most history. In either case, updates not chosen will be lost.
If you require stronger consistency guarantees and it is acceptable to sacrifice availability then you will need to look to the "Strong Consistency" feature in our Enterprise version.
from aerospike-server.
Dirty read tends to mean the reading uncommitted data. That shouldn't be possible, otherwise would be a bug.
Please clarify what you mean by dirty read.
from aerospike-server.
Sorry, maybe I misunderstand.
The error I met is that I got read of old data like logs below
{:process 1342109410, :type :ok, :f :write, :value 1808049630},
{:process 1333716706, :type :invoke, :f :read, :value nil},
{:process 1333716706, :type :ok, :f :read, :value 1808049630},
{:process 1325324002, :type :invoke, :f :write, :value 2822355899},
{:process 1325324002, :type :ok, :f :write, :value 2822355899},
{:process 1316931298, :type :invoke, :f :write, :value 2853104656},
{:process 1316931298, :type :ok, :f :write, :value 2853104656},
{:process 1308538594, :type :invoke, :f :read, :value nil},
{:process 1308538594, :type :ok, :f :read, :value 1808049630},
Maybe it's a split-brain issue?
from aerospike-server.
Related Issues (20)
- build fails on AArch64, Fedora 33 HOT 1
- Vault integration breaks with 5.6.0.3 HOT 2
- What is the difference between the enterprise version of the source code? HOT 1
- error creating fabric published endpoint list HOT 4
- client write failed but still can read the data? HOT 1
- How to compile aerospike without jemalloc? HOT 2
- Missing cf_queue_priority.h while make aerospike-server-master in CentOS7.5 HOT 1
- ASan reports stack-buffer-underflow HOT 8
- Is it legal to modify / bypass limitations (eg. maximum 8 nodes) in the source codes ? HOT 1
- Lost data written before all nodes initialized or data not synced? HOT 1
- aerospike_telemetry.service is marked executable HOT 1
- Unable to install Aerospike on Macbook M1 Pro while using ubuntu Vm HOT 2
- Include Ubuntu 22.04 LTS package into release HOT 3
- Document supported hardware architectures HOT 1
- Aerospike pods consume a lot of RAM during migration, which is not released after migration HOT 5
- Server repeatedly crashes during "reading device" after restart HOT 3
- Failed build on GCC 12
- Porting PPC64LE HOT 1
- Clarification about truncation with specific LUT
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 aerospike-server.