Comments (2)
The problem is that Memgraph saves the current timestamp only in DiskStorage destructor, but if process gets killed with SIGKILL signal, for example, then destructor won't be called and the timestamp won't be saved.
Because of that, timestamp will start from 1 and old keys will be used, hence user will have to query the database until he gets to the timestamp he used before database was restarted.
To fix this, we should either save every commit timestamp after the transaction finishes, or we could add a flag that will save the timestamp after n
commits.
from memgraph.
An additional issue related to this one, the --data-recovery-on-startup
flag doesn't do anything in on-disk storage mode. By default, Memgraph is treating it as always true
. We should either handle the case where it is set to false (by deleting rocksdb data dirs) or we should write somewhere in docs, that if the user doesn't want to recover data on startup, he should delete rocksdb data dirs manually.
from memgraph.
Related Issues (20)
- Schema.assert() not working as intended
- Memgraph write speed getting slower as data gets bigger HOT 3
- Query causes a big Memory spike and kills Memgraph (IN_MEMORY_ANALYTICAL)
- Implement index statistics
- Create a flag to automatically generate indices HOT 2
- Fetch edge by ID
- Replication does not work on 3 freshly started VMs with memgraph 2.15.0-1 HOT 15
- Make sure all import paths including Unicode are supported
- Enable operations between different temporal types
- Memgraph regex compatibility support HOT 1
- Implement toStringOrNull function
- Expand, collapse and hide buttons does not work HOT 3
- Hyperlinks to Lab HOT 1
- Add support for export db to CSV files (nodes, edges, indexes, constraints)
- Update the description for the --auth-user-or-role-name-regex flag
- Incorrect WITH clause parsing HOT 4
- Slow roundtrip performance of query in k8s Enviroment HOT 2
- Incorrect "replace()" function cause database hanging and resource exhaustion, could lead to DoS attack HOT 2
- Snapshots are being created periodically in in-memory analytical storage mode 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 memgraph.