Comments (10)
Can you check with protocol v4?
from cdrs-tokio.
Do you mean downgrade to an old Cassandra? or is there a way to make it fall back to the older protocol?
from cdrs-tokio.
You can specify the protocol version when building connection configuration: https://docs.rs/cdrs-tokio/7.0.0/cdrs_tokio/cluster/struct.NodeTcpConfigBuilder.html#method.with_version
from cdrs-tokio.
It happens with V3, V4 and V5. Less often in the older protocol versions.
from cdrs-tokio.
Also, wanted to mention that this is an LWT batch. The code in question is here: https://gitlab.com/lightning-signer/validating-lightning-signer/-/merge_requests/312/diffs#144ee5d06667bb53830287a66cd0bda0b514e40c_0_319 (look for async fn put
if I push again and invalidate the line locator)
from cdrs-tokio.
The scylla driver gives me a more detailed error: Scylla(QueryError(DbError(WriteTimeout { consistency: Serial(LocalSerial), received: 1, required: 2, write_type: Cas }, "Operation timed out - received only 1 responses.")))'
So cdrs is probably getting confused by the write_type
on this error.
Well, I'm confused by this error myself...
from cdrs-tokio.
If you're getting it on a two different drivers, it means a problem in your cluster.
from cdrs-tokio.
agreed. however, the cdrs driver does eat part of the error - would be good to fix.
from cdrs-tokio.
Sure, I'll take a look.
from cdrs-tokio.
This turns out to be a braking change and will be included in the next major version.
- Add remaining options from https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v5.spec#L1289
- Remove
Copy
fromWriteType
- Add
UnknownWriteType(String)
variant - Add non_exhaustive
from cdrs-tokio.
Related Issues (20)
- Keyspace setup falls Transport to infinite loop HOT 1
- schema change event is never received HOT 23
- Add support for HTTP proxy HOT 2
- Trouble with dropped connections on Session HOT 5
- increase in size for a byte array HOT 23
- Add non exhaustive to proto enums HOT 1
- TLS Example HOT 1
- Paging HOT 13
- Support for tracing informations HOT 4
- Range end index 88 out of range for slice of length 83 HOT 2
- Session can hit errors if used immediately
- rustc stack overflow when deriving IntoCdrsValue and TryFromRow if struct contains static string reference HOT 4
- Case where a machine is up but unreachable HOT 44
- High CPU usage for cdrs_tokio::transport::AsyncTransport::start_processing HOT 19
- exec_with_params is returning ErrorType::Unprepared. HOT 7
- Row to serde_json::Value HOT 12
- ExponentialReconnectionPolicy panics after several attempts HOT 1
- Protocol v5 tests HOT 3
- Bug in transport.rs 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 cdrs-tokio.