Comments (8)
@freeekanayaka dqlite fixes for our users take priority over other work, so lets get this one sorted, then go back to the DB tooling in LXD and then onto the rest so long as no other important issues pop up in between
from dqlite.
This has been fixed in raft canonical/raft#85.
So lxd 3.19 should be able to upgrade from any previous version (e.g. 3.16 and 3.17 in your case) without hitting "transaction too big" error.
I tested the upgrade with the database tarball you had sent me and it worked.
from dqlite.
Hi, do you know when this might be solved? There are number of instances with "broken" lxd (regarding https://github.com/lxc/lxd/issues/6322), but containers running.
If it will take considerable amount of time, we might bite the bullet and perform advised workaround (delete old snapshots) on all instances.
from dqlite.
@ubojan I still have to check the details but it most likely will require some time to fix this issue.
However, I think we can workaround the issue by committing the change in smaller transactions. I can try to have a stab at that if you wish (it might require a new lxd release, but maybe not if we're lucky).
from dqlite.
That would be cool!
from dqlite.
I'll try to look at the situation tomorrow and let you know.
from dqlite.
Unfortunately coming up with a simple workaround is more complicated than I thought, mainly because the patch that upgrades from version 15 to version 16 of the database schema is hard to break down in smaller pieces.
I've also given a quick look at how long the proper fix (which should be made in libraft) might take and I think it's a few days of work, so not something straightforward. We want to have it fixed as well, but I have to sync with @stgraber about the priority of it, as we have a few other things.
from dqlite.
@freeekanayaka thanks for the update and for the provided (delete old snapshots) workaround. @stgraber thanks for assigning this ticket high priority.
I've went ahead and fixed lxd service using workaround on affected instances.
Also dqlite fix is highly appreciated as we have lots of instances still on 3.16 and 3.17 and would like them to update to latest version.
from dqlite.
Related Issues (20)
- Moving sqlite3_step and other database operations off the main thread HOT 8
- Expose option to disable/enable raft snapshot compression
- Handle INTERRUPT request HOT 3
- stderr of server threads swallowed during integration tests HOT 2
- Proposal: stop trying to handle OOM HOT 1
- Investigate growing memory usage found by microk8s benchmarking HOT 2
- Consider shipping a tiny "manifest" binary to print information about the dqlite installation
- install instructions don't work HOT 4
- Confusing error message when trying to run a query statement with Exec HOT 1
- Recommended way to perform schema migrations HOT 4
- Raft uv_timer leak when creating and destroying node HOT 1
- Cluster-wide configuration of target voter/standby count
- Idea: pass a socket instead of dqlite_node_set_bind_address HOT 4
- Implement DQLITE_VISIBLE_TO_TESTS properly, or get rid of it HOT 1
- Git layout for v1.15.0 HOT 8
- Write operations that immediately follow write operations sometimes cause a disk I/O-error, followed by loss of leadership and high latency HOT 3
- Support the RETURNING clause HOT 2
- Can we use the unix-excl VFS? HOT 9
- Consider periodically using VACUUM to reduce memory footprint HOT 9
- Not Leader failure response HOT 5
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 dqlite.