Comments (4)
Thanks for the reproducer I have it also failing locally in a test now and will be taking a look.
from libsql.
Since this is a critical issue faced by us at the moment, I would be more than willing to work on this issue, if someone could point me to places I should look into for this bug.
from libsql.
I noticed when connecting to a replication, the writer is cloned (I have 0 experience with Rust, so feel free to correct me if I'm wrong): https://github.com/tursodatabase/libsql/blob/main/libsql/src/database.rs#L552 but this set of my spidey senses
from libsql.
I noticed when connecting to a replication, the writer is cloned (I have 0 experience with Rust, so feel free to correct me if I'm wrong): https://github.com/tursodatabase/libsql/blob/main/libsql/src/database.rs#L552 but this set of my spidey senses
I too was thinking along the same lines, but I do think the issue might be in conn.writer()
function. This gets/constructs the writer from the remote client present in the replication context which is set during Builder::new_remote_replica(...).build()
, which I think is the issue here. Instead IMO, the replication context should only include relevant details to construct this client on demand (when db.connect()
is called).
from libsql.
Related Issues (20)
- Use `WAL` as default everywhere HOT 5
- Either support or reject BEGIN READONLY in hrana on the server
- Unable to run on `oven/bun:distroless` docker image HOT 4
- Feature Request: Expose `sync_interval` parameter in libsql's C bindings
- Import fails when there are multiline statements in the dump HOT 1
- Bug with schema migration when tasks status do not reflect the job status
- Group tokens with attach permissions lose broader read/write permissions
- Switch to using `gosu` in `docker-entrypoint.sh`? HOT 1
- Schema migrations fail when run on a client connected to a replica HOT 3
- Sqlean version out-of-date in Turso HOT 5
- ERROR libsql::replication: replicator sync | database disk image is malformed HOT 11
- Creating namespaces in sqld following the docs does not work. HOT 2
- Switch to locking_mode EXCLUSIVE in libSQL server? HOT 2
- Feature request: support for `begin concurrent`
- How to enable the `attach` permission for databases HOT 1
- Improve database connection builder API? HOT 1
- Go API: Compile/Link error on Linux with Embedded Replication library
- CHECK failure not propagated on failing INSERT/UPDATE HOT 2
- libsql-ffi build failed on Windows HOT 4
- Issue: pyo3_runtime.PanicException: not yet implemented
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 libsql.