xandra
xandra copied to clipboard
Fast, simple, and robust Cassandra/ScyllaDB driver for Elixir.
This will make things better and logging/instrumentation/tracing easier. ## Edit 2022/05/31 — API I'll keep a proposed API for events here. **Warnings**: * `[:xandra, :server_warning]` * Metadata: ? * Measurements:...
C* supports "optional" encryption, that is, it supports clients that can connect both via TCP as well as TLS (on the same port). If we enable this in C*'s config,...
Right now it's pretty clunky to run tests on different native protocols. You have to do something like this: ```bash CASSANDRA_NATIVE_PROTOCOL=v3 mix test test/my_test.exs CASSANDRA_NATIVE_PROTOCOL=v4 mix test test/my_test.exs CASSANDRA_NATIVE_PROTOCOL=v5 mix...
Right now if a control connection to a node goes down, we try to reconnect forever. This is an issue because C* cluster topologies evolve in time. For example, we...
The [documentation](https://hexdocs.pm/xandra/Xandra.Cluster.html#module-autodiscovery) states that: >When nodes in the cluster are discovered, a Xandra pool of connections is started for each node that is in the same datacenter as one of...
Hey guys. Disclaimer, I didn't dig deep into the codebase to understand this constrain yet nor am Cassandra expert, so maybe this is possible only in my imagination :) Would...
Scylla enhances the CQL protocol with these two capabilities: - Cache hint Simply flag a query to BYPASS the cache. This way queries that just scan do not need to...
Xandra does not allow to wait for schema ageement/consensus after (maybe also before) executing schema changes. Cassandra exports schema_version on `system.peers` and `system.local` tables, and [some Cassandra database drivers allow...
All other C* drivers built by Datastax (for Python, PHP, Java, Ruby, Node) to this and are successful 😄 I [asked about this](https://community.datastax.com/questions/13895/how-many-control-connection-to-start.html) in Datastax's forums and they confirmed that...
Work in progress. Addresses https://github.com/lexhide/xandra/issues/199. #### Introduces `:autodiscover_other_datacenters` option When `false`, Xandra will ignore topology change events describing new nodes in datacenters it never opened control connections to. When `true`,...