diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-09-26 14:13:03 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-09-26 14:13:03 +0400 |
commit | 344c0ea4232a4954a6eb83195bb78cace03bd4c4 (patch) | |
tree | f6bdcabff1b29bf63c588c99d65adb43715246c3 /storage/cassandra/cassandra_se.h | |
parent | 73dfd5782bf2ec845dc5490de22d9ef8ea9f7326 (diff) | |
download | mariadb-git-344c0ea4232a4954a6eb83195bb78cace03bd4c4.tar.gz |
Cassandra SE: Add capability to retry failed API calls
- Add capability to retry calls that have failed with UnavailableException or
[Cassandra's] TimedOutException.
- We don't retry for Thrift errors yet, although could easily do, now.
Diffstat (limited to 'storage/cassandra/cassandra_se.h')
-rw-r--r-- | storage/cassandra/cassandra_se.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/cassandra/cassandra_se.h b/storage/cassandra/cassandra_se.h index 33ef677d276..c6de779f8bc 100644 --- a/storage/cassandra/cassandra_se.h +++ b/storage/cassandra/cassandra_se.h @@ -91,6 +91,9 @@ public: ulong multiget_reads; ulong multiget_keys_scanned; ulong multiget_rows_read; + + ulong timeout_exceptions; + ulong unavailable_exceptions; }; |