fa649b1fa91fa7aed260fe5d6da8d4d7b42ed3fb |
|
08-Feb-2018 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Make sure timestamp is always logged (if set) with debug_queries=y
It wasn't logged in some code paths. |
af619a25952f5ba550800daf69a119247b1fcda3 |
|
08-Feb-2018 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fix setting timestamp for transaction queries with v3 protocol
It was working for prepared statements, but not for non-prepared statements. |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
117ae14172071ab6334260dfd3cab3609234ef2a |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fix crash when using prepared statements
Broken by cae3c6903c10682429f9849ab1a25093e3f538e4 |
cae3c6903c10682429f9849ab1a25093e3f538e4 |
|
07-Dec-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
driver-cassandra: Free statement pool on update
Otherwise the pool memory will leak. This was happening with non-prepared
statements when version was older than 4. |
18da63ba64987f2157cf8c490b4c4d1efba28733 |
|
06-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Include the used timestamp in logged queries |
125081bc1cac5f9fe006c36c88ca0535377c461c |
|
06-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Rename cassandra_sql_statement.pending_timestamp to just timestamp |
344c4411571e25dcf2f974c07c116a6160c77338 |
|
17-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Support "timestamp" type fields properly
Fixes setting them with prepared statements. Reading them never worked
earlier. |
b6c9cc2bf7517adcc0b9f98696c61bde321900f6 |
|
17-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Include "prepared" when logging about prepared statement queries
Mainly useful for debugging/testing. |
27688ec19adf1af07f9a996620caba05bb80acfb |
|
17-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fix using bigint types with unprepared statements
This reverts the code to not using the statements with binding at all.
Alternative fix would be to start using explicit int32 or int64 parameter
types, but that breaks backwards compatibility a bit. |
47a5a7e8296f3b8f2fac9a0659d4de3f2723ba4a |
|
06-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use PRI* macros and %zu instead of casting |
c69a177207ed18d0f0210347430a60957136bd6c |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on pool_unref(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- pool_unref(&E);
- }
+ pool_unref(&E); |
0d1b8b6bec79746c5d89d57dd8c1688946bd9237 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on timeout_remove(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- timeout_remove(&E);
- }
+ timeout_remove(&E); |
5f1d689131a75c39f064cbd4202373e7edf78f18 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on io_remove{,_closed}(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- io_remove(&E);
- }
+ io_remove(&E);
@@
expression E;
@@
- if (E != NULL) {
- io_remove_closed(&E);
- }
+ io_remove_closed(&E); |
186c97450c84494ba98e2905ca275f47ad334f4c |
|
19-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Timestamp should be in microseconds, not milliseconds |
0cb80fbd739a9a9b3618a5595b34458a0a994d9b |
|
13-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: NULL values' sizes weren't initialized
This was only a problem if sql_result_get_field_value_binary() was
attempted to be used for a NULL value. |
214aff73cd9809446bef169b216d6eb5a81079d8 |
|
13-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fix paged queries to work again
When continuing the result, consistency was reset to 0 (=ANY), which caused
the queries to fail. There's no need to initialize the statement again when
continuing it. Also set result->consistency to be correct mainly for
debugging purposes. |
4d8f538565145fd90eae48df5c4f2ed76e51ca78 |
|
12-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Disable prepared statements with protocol v3 and older |
709ee5a909d482f31611f9e6cc10d893a272e061 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Add support for prepared statements |
a2c4998f6e1fe5ea9a2c9bafd678cd4b6b064a0b |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Cleanup - Create statement earlier
Simplifies the following changes |
92a7f5f9bf20c0bd1b1ac309d100f9c144e2b127 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: sql_transaction_commit*() cleanup - handle multiple query failures earlier
This makes the handling same for the sync and async method. It also
simplifies code for the following commits. |
8759c5d294e762fe9c5b7b19f3842b23aaaaf4eb |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: sql_transaction_commit_s() - Set query_type correctly
The queries were all sent with READ type instead of WRITE/DELETE. This
meant they were using potentially wrong consistency values. Although
synchronous commits aren't actually used anywhere, so this practically
this doesn't fix anything right now. |
92e21c2a14182b040f891f3d18ede3e1b5f8c560 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: sql_transaction_commit_s() - Don't allow multi-query transactions
They were already denied for asynchronous commits. Also the synchronous
commits aren't actually used anywhere, so this shouldn't break anything. |
ef597c4619eb021563f659b886c67762fce7a817 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-sql: Explicitly specify used *_vfuncs methods for drivers.
This allows adding more methods without modifying all the existing drivers. |
b07a3abc4cc692661f5afd2fb654acb687884613 |
|
14-Aug-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fix confusing debug logging for paged query results.
Even when caller supported paged queries, the debug output contained
"Paged query has more results, but not supported by the caller".
Clear out the error after sql_result_more() is called, so it won't be
logged. |
6b4d642a2efa6f6fbbeeb734070efed625c91465 |
|
20-Jul-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-sql: Remove duplicate Cassandra consistency names |
8a6afcd8a6d9ed69626add85a7b75105ee3cb6a1 |
|
18-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fix read/write buffer overflows after adding CASSANDRA_QUERY_TYPE_READ_MORE |
caf029d36a826106e48b8682f15ea0fc01fdd8f4 |
|
17-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Improve logging for multipage queries
warn_timeout is applied to both individual page requests as well as the sum
of all the page requests. |
dd3d20d9b5821077164183a260af9bde0db3ff3f |
|
17-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Add page_size setting to enable paged results for queries |
a5f2707224b10f26e3d478a2b11e8d01f1b8f609 |
|
17-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Add wrapper functions in preparation for following commits
No functional changes. Shrinks the following commits. |
402f9bcf48cbccc17fdb5f3ea411a7967aed0fd0 |
|
17-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-sql: Add API support for asynchronously iterating over rows.
sql_query() can already do an async lookup, but the full result needs
to be available immediately. This can be inefficient for large results.
Add a new SQL_RESULT_NEXT_MORE return value and sql_result_more() for
asynchronously requesting more results.
This changes the API a bit, but isn't done by default by any drivers yet.
Also callers that can't handle this are hopefully checking for "ret < 0",
which allows them to handle such an async-more request as an error
instead.
sql_result_next_row() will be changed to return enum in a separate commit to
keep backwards compatibility in v2.2.x. |
b394d41ad4da0e2e7b8bfafccf3b4f3e9ac26ad1 |
|
24-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Use fallback consistency for CASS_ERROR_LIB_NO_HOSTS_AVAILABLE errors
I'm not entirely sure if this is always appropriate, but at least this error
happens every time when attempting to use write_consistency=two when there
is only a single Cassandra node. |
01aca4a521410be85e1f39e37c662435d052f48a |
|
30-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
driver-cassandra: Add metric for slow queries |
2a24f3565c61cb429d1e428601f153ce53b8bae3 |
|
27-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fallback consistency fix - it wasn't used permanently
Because the "do I want to retry using primary consistency?" check was done
using the first failure timestamp, after 60 seconds that check always
returned TRUE. We should instead be checking the last timestamp for a
query that was sent with the primary consistency. |
a8a5f2f8ccc134dcc7b61ea48664c3381db4a1aa |
|
27-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Fallback consistency fix - max retry interval was set wrong
The maximum msecs is _MAX_RETRY_MSECS, not _FIRST_RETRY_MSECS |
0098ac3b6dcd8ef6ac20f87a8285da201db75a01 |
|
16-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Treat CASS_ERROR_SERVER_UNAVAILABLE as "write success is uncertain"
Looks like the write could still have actually gone through. |
7c04ede0da5749691624a1fb962ac29cd0167050 |
|
21-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Don't use i_error() from non-main thread
It will only cause crashes. This was done only if the internal
communication pipe couldn't be written to, which was pretty unlikely
to happen. |
07038d3a12a915e98f794566f56a0ed12e0653eb |
|
13-Feb-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
driver-cassandra: Add support for speculative execution |
f9cf9852b0338910f1a710297374943d66fea480 |
|
13-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Track query counts internally and include them in metrics |
2599a77a28bde0653fa090802424469904d518ee |
|
10-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Support configuring heartbeat_interval and idle_timeout |
769cbb608e9ed620063708aff49fc1b6e924394a |
|
10-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Add support for "bigint" value type. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
b8eb3211af2987d6e8f0d416156171fbd74f0737 |
|
07-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Treat "Request timed out" also as SQL_RESULT_ERROR_TYPE_WRITE_UNCERTAIN
CASS_ERROR_SERVER_WRITE_TIMEOUT is "Write timeout" as reported by Cassandra
server, while CASS_ERROR_LIB_REQUEST_TIMED_OUT is timeout as reported by the
Cassandra library. |
0f5dc4da3982053036be65190e44bf28a67b1ca2 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand*() now returns error string.
This allows callers to fail properly if the format string is invalid. |
00bcc83b18793b9ec5e5d264480a88bf78b10b33 |
|
26-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
Compiler warning fixes with -Wstrict-bool |
e564ff0581fc44b78badf8da36e68f9f7a27807e |
|
10-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Added latency_aware_routing connect-parameter.
There's currently no way to change the default settings for it. |
bb2b3656ef7635acc374f7fc19b25aeeb454ae95 |
|
17-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-sql: Added error_type to commit callback. |
5d9ecbcec051b570d29b8f433d6b26d8435236fd |
|
17-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Support returning SQL_RESULT_ERROR_TYPE_WRITE_UNCERTAIN |
14189e0d0af45ddcb888d026bd8d7e4609912ec5 |
|
01-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Added debug_queries connect setting.
This logs all the queries and how long they took, without having to log all
the other Cassandra library debug messages. |
e401fa68eb1e7761ffd0b747919d44568555efee |
|
01-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: If query fails, include how long the reply took in the error message. |
8952d797eca36f997ec36569e783871b597a9216 |
|
01-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Warn if queries take too long (default 5 secs)
Can be changed with e.g. "connect = ... warn_timeout=30s" |
2522acb523343dd37bf788747d86d9470fc08025 |
|
11-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Try fallback_consistency also for write timeout failures. |
23bdbb7b1831785c6ba6df190f6369da882d2b9d |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Require comparisons to be strict boolean expressions
* No implicit integer -> boolean or pointer -> boolean conversions
* !expr can be used only if expr is boolean type
These were checked with a patched clang. It found various actual bugs,
which were fixed by the previous commits. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
ba4626cd5be3d225a7a89aa338d92b8fb411fd1c |
|
25-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Added metrics=path connect setting.
Cassandra's metrics are written to the path in JSON format. It can be a file
or a FIFO. The path supports expanding the standard global %variables, such
as %{pid} |
7cd055a212d44067e2d94452c05691d696c9f699 |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Support milliseconds for request/connect_timeout |
f7d018e7e0980044e3d537958126e44ef4c45056 |
|
25-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Added num_threads, connect_timeout and request_timeout settings. |
c72cfe4a2bda39fff3b8a8bd64b31a7cc14d7d11 |
|
22-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
cassandra: Added support for user and password settings. |
e8434aad92ea6ff1c915b708294dbd0c7ff5908d |
|
11-Feb-2016 |
Michael M Slusarz <michael.slusarz@dovecot.fi> |
lib-sql: Allow port to be configured for Cassandra cluster |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
1128c114416bdc4df0b41d3e15429a1522e5cfe4 |
|
14-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Added read/write/delete_fallback_consistency settings.
The fallback is attempted if the primary consistency can't be satisfied.
One useful use case for this is to have:
write_consistency=each-quorum
write_fallback_consistency=local-quorum
Which means that during regular operation all writes go to all data centers
before they are finished, but if one of the data centers go down we'll
switch to just waiting for local data center writes to finish. |
b096ecf3188cdb9162460ed7ae885c03f3161462 |
|
13-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Added support for returning "int" type values.
It looks like we need to explicitly convert all types to strings. |
be59f9ae981dbe4bdd264053e9febd4ea5dad75b |
|
24-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: copy&paste mistake - use monotonic timestamp generator, not server side.. |
f9eee365367f37b1692c07db6c23d30243844aaa |
|
24-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Added "version" parameter to specify a protocol version.
Mainly to avoid warnings logged when connecting to an older Cassandra
server. |
f0e416aa42058e7ccc0dc6deec0d4f4a19ee6ebe |
|
24-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Use a local monotonic timestamp generator.
Otherwise we run into race conditions on server side timestamps, which cause
problems. |
37e8420b32a0fa3442c405616980e45beb494104 |
|
17-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: With debugging, log also how many rows were iterated. |
2ccb478c35972517721ce415d81fcbd11a73fad3 |
|
17-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: With debugging, log also how long result was used for before it was freed.
This includes the time spent on SELECT query's iterator. |
3e8842470a4a17017529d43b39c40a7549c2ecf2 |
|
17-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Don't crash if connection to Cassandra failed. |
de5f478d9e7ae7b8e58082e0b30b6ce1f034236a |
|
17-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: If log_level=debug, log also how long the queries take. |
4db61af2cfe2b206113bcc4b6153521679702bb4 |
|
15-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Added delete_consistency parameter. |
1fb5e50695bbbc0da082e5a6f19f29d2bb2f6531 |
|
03-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Handle async queries internally - don't use sql pooling code.
There's no need to create multiple Cassandra instances, since the single
instance is capable of doing multiple asynchronous requests in parallel. |
b87761f9bbef949f31dae297e619ac3f5e9c2b2e |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Implemented sql_escape_blob() |
61f39b0358a72ebc693d84ba5bac74489ee7df41 |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Implemented support for binary values. |
a916985b7ea0dfe629928f7a88ff71610a3d52d6 |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Mark Cassandra driver as pooled.
Otherwise all the asynchronous operations will assert-crash, since all the
auto-connecting code is in the sqlpool code. |
1856c361aad526948d56d8aafd576bca94516b92 |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Debugging help - Added assert before clearing sql_result.callback.
If result is unrefed too many times, this still allows accessing the
callback from a debugger. |
b457d2ecf97fb52064f9dd563fd4e8065af39dfb |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: sql_result.free() should never be reached from the query callback.
This code was probably added before sql_result refcounting. |
6ea145a99eeee923602f04d3c9183bbdba6cd190 |
|
31-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Changed default consistency levels to local-quorum.
It is a much safer default than "one". |
ce74395e2a932342e04fb682395bcce111574969 |
|
31-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Split consistency setting to read_consistency and write_consistency. |
b50234708ad651e98a4198e1b910106b279aae32 |
|
13-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Commit failures returned an already freed error string. |
e22ec7998afd426c53c658483ce66b6e404e27c6 |
|
11-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Error handling cleanup.
Probably doesn't fix any actual bugs. |
6b4b3e5fe8d9e84f4b1356ee898ca76996a11fe1 |
|
11-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Minor code cleanup to make sure we don't try to access freed transaction memory. |
b23a8d3514760899ac1094f2a8103a057ae6416d |
|
11-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Don't access freed memory when doing an assert-check. |
48ce7a375ada1b80545bc6767adb8e8fb23699a8 |
|
10-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: If log_level=debug/trace, log each query and its result. |
b650f04c3b2e7dea2295bdbe3239eb82ec03ada0 |
|
10-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Added extra asserts and sanity checks to make sure query errors are caught. |
f0e811f0e306bb20d3da9c26353bdd5669132f29 |
|
10-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Don't crash on failed queries. |
a1044a46a8f3512173f4ea2684ef1fc3e61645c7 |
|
29-May-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Added log_level parameter to connect_string.
Available values are critical, error, warn (default), info, debug and trace. |
7fa451bfbbe759379b4f8d3f289c77a0d51b8d07 |
|
12-May-2015 |
Timo Sirainen <tss@iki.fi> |
cassandra: Leave consistency to default if it's not specified in config. |
e07677bb15404a3c18ad205efae86d6db31c3150 |
|
12-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Don't crash in Cassandra if connection to it failed. |
b772ddf3cfb606dddaa465b317a0dc01bf06c6e4 |
|
11-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Added support for Cassandra CQL as lib-sql backend.
Implemented using DataStax's cpp-driver.
Many things are still unimplemented. Column name specific functionality
isn't even supported by the Cassandra library. So this can currently mainly
be used as one of the dict backends for some simple functionality. |