Comments (5)
It is possible that we are seeing the problem described in the All filesystems are not created equal paper. Basically, doing a sync on data files and atomic renames is not enough to ensure consistency of the set of files in the directory. The directory entry itself may need a sync in Linux systems to ensure that the file operations are executed in the expected order and the new file mods survive a crash.
from leveldb.
@angrycub ... define "restart of a node" ... riak restart, linux restart, machine died and was restarted, etc.
from leveldb.
From the ticket narrative:
"At the same time this node was discovered down, two other nodes were being reported by ring-status as being down, but their beam processes were still running. Since the cluster already believed them unavailable, I killed the beam process on each of these nodes and restarted riak successfully. Currently all but one of the cluster members are up."
So I'm going to say, killed after being in an "indeterminate" state and then Riak was restarted. No indication that the physical nodes were rebooted; however, I can contact the user in question for more details if you'd like.
from leveldb.
let me ponder this ... however, a vnode repair would fix. You already do that?
from leveldb.
That was how we addressed that particular ticket. Dumb shell script to look where the filename in the CURRENT file did not exist in that partitions folder and echo out the partition IDs. Ran eleveldb:repair on all of them and all was well.
from leveldb.
Related Issues (20)
- Two threading tweaks [JIRA: RIAK-2336] HOT 1
- leveldb.data_root ends up in /var/lib/riak/leveldb regardless of configuration value. [JIRA: RIAK-2470] HOT 2
- execute db_bench end up with "no such file or directory" error [JIRA: RIAK-2492] HOT 13
- Track level size by current version, or all versions? [JIRA: RIAK-2496]
- pthread create should log to syslog on failure [JIRA: RIAK-2582]
- explicit option for sst_scan for expiry dates [JIRA: RIAK-2653]
- Need tool to rewrite MANIFEST without expiry fields [JIRA: RIAK-2669]
- Compaction logic allows level 1 to grow and create heavy throttle [JIRA: RIAK-2791] HOT 1
- non-compression of level 0 should be reevaluated [JIRA: RIAK-2792]
- What if sequence number overflows? [JIRA: RIAK-2793]
- Carryover items from 2.0.33 code review [JIRA: RIAK-2990]
- Riak sometimes fails to start due to LOCK files being held due to lock "already held by process" [JIRA: RIAK-3118] HOT 1
- Build failed [JIRA: RIAK-3375]
- ldb_config.h file missing HOT 1
- Basho closed HOT 11
- Error in s390x HOT 1
- Tests fail on 'develop' branch HOT 2
- LevelDB Threads HOT 4
- Add ppc64le support HOT 1
- Accuracy of bloom2 impacted by compilers 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 leveldb.