17 Patch |
e7c9ac05f99cc8a5ee958169c49326e85ab4b25b,
68079e4b2ed4e58dbede70af45414b3d4214e195,
2313e39ee19ea12f304d3e6dd04c41d4f03798ca,
0680bfb96414f75bcbfea84ed075e7f40e4197a3,
0a80211e3cd57e4fde84e404e517c57b60a9fe78,
972dd07fc6943385e6de32fe15893eb731ca06a4,
93960e457b02319843a2daead1a81300174ca207,
b99afaf3b1639e5264f5e1cabf04fdb2e5ed57ac,
6bdac5e86117001a9b87d0d885c6a0c053764696,
70385f88b28b43805bd83d212169ab2d38810b15,
aa46e85d0a7f8496b2fe83e9b551a63a550604d2,
a16518d75a0e138ec04e48a91a087c3b1d14f9b4,
08a3a27c42ccc63167b9d470472b85983e17e0e2,
4d2988165102fff47a56c1f8fe0c009d883212f2,
db20ccb04312b6ec04b837f17558d22b99db8565,
44a37f43ca9080dd8867050293d02c69865f5b17,
4ba1af8a026b230ce3c646e594865c07ce01b541 |
e7c9ac05f99cc8a5ee958169c49326e85ab4b25b | Author: Stefan Miklosovic <smiklosovic@apache.org>
| 2022-08-19 16:50:49+02:00
Introduce target directory to vtable output for sstable_tasks and for compactionstats
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-13010
Co-authored-by: Alex Lourie <alex@instaclustr.comi>
0a80211e3cd57e4fde84e404e517c57b60a9fe78 | Author: Alex Lourie <djay.il@gmail.com>
| 2019-05-23 19:37:58+09:30
Check if peer valid in awaitSchemaAgreement (#1300)
Signed-off-by: Alex Lourie <djay.il@gmail.com>
972dd07fc6943385e6de32fe15893eb731ca06a4 | Author: Alex Lourie <djay.il@gmail.com>
| 2019-05-23 18:59:45+09:30
Using hostnames instead of IP addresses in session dial (#1310)
Signed-off-by: Alex Lourie <djay.il@gmail.com>
93960e457b02319843a2daead1a81300174ca207 | Author: Alex Lourie <djay.il@gmail.com>
| 2019-05-23 04:05:17+09:30
Refactor localHostInfo with initial address (#1292)
Signed-off-by: Alex Lourie <djay.il@gmail.com>
b99afaf3b1639e5264f5e1cabf04fdb2e5ed57ac | Author: Alex Lourie <djay.il@gmail.com>
| 2019-04-23 18:44:14+09:30
Add non-nil check to old connection in error handler (#1305)
Signed-off-by: Alex Lourie <djay.il@gmail.com>
6bdac5e86117001a9b87d0d885c6a0c053764696 | Author: Alex Lourie <djay.il@gmail.com>
| 2019-03-20 01:42:16+10:30
Removing redundant connection + dependant goroutines (#1278)
* Removing redundant connection + dependant goroutines
Fixes #1273
Signed-off-by: Alex Lourie <djay.il@gmail.com>
* Keep dial instead of connect
Signed-off-by: Alex Lourie <djay.il@gmail.com>
70385f88b28b43805bd83d212169ab2d38810b15 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-11-25 01:44:48+10:30
Allow setting a custom Authenticator (#1242)
* Allow setting a custom Authenticator
Signed-off-by: Alex Lourie <djay.il@gmail.com>
* Review commit
Signed-off-by: Alex Lourie <djay.il@gmail.com>
aa46e85d0a7f8496b2fe83e9b551a63a550604d2 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-10-10 07:20:24+10:30
Speculative query execution (#1178)
* Rework metrics locking
* Metrics are now split into:
hostMetrics - for a list of metrics
queryMetrics - for a map and a locker
* Added functions to perform locked metrics updates/reads
* Locking is private for the metrics only, so should have no
performance effects.
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Introduce Speculative Policy
* Define the speculative policy
* Add NonSpeculative policy
* Add SimpleSpeculative policy
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Add IsIdempotent to ExecutableQuery interface
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Implement speculative execution
* Refactor executeQuery to execute main code in a separate goroutine
* Handle speculative/non-speculative cases separately
* Add TestSpeculativeExecution test
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Review comments
* Make one code path for all executions
* Simplify the results handling
* Update the tests
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* More review comments
* Metric lock improvements
* Style cleanups
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Fix Latency calc lock
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Fix session.go for new metrics
Signed-off-by: Alex Lourie <alex@instaclustr.com>
a16518d75a0e138ec04e48a91a087c3b1d14f9b4 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-09-29 19:38:07+09:30
Fix cassandraVersion.Before() call (#1202)
* Fixes the Before() call
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Review comments
Signed-off-by: Alex Lourie <alex@instaclustr.com>
08a3a27c42ccc63167b9d470472b85983e17e0e2 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-09-07 03:39:13+09:30
Allow to Cancel() query at any time (#1174)
* Expose a Cancel() call in RetryableQuery
Solving #1173
* Add a Cancel() call to the RetryableQuery interface
* Add cancelQuery and cancelBatch fields
* Initiate Query/Batch context
* Implement Cancel() call by calling the cancelQuery/cancelBatch
functions
* Add TestCancel to verify that the query is being cancelled by the
cancel call before it's finished.
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Fixing the interfaces and bad test
* The Cancel() call moved from RetryableQuery to ExecutableQuery
* Simplify context and cancel functions initialisation
* Improve TestCancel with the following:
* the test is now actually testing that the query was cancelled.
* doesn't need "veryslow" server query, just using "timeout" is enough
* using a waitgroup to cleanup after the test
* cut the runtime to about 20ms, so elapsed times measure is not
required
Signed-off-by: Alex Lourie <alex@instaclustr.com>
4d2988165102fff47a56c1f8fe0c009d883212f2 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-09-01 07:09:54+09:30
Query metric per host 1155 (#1156)
* Store attempts and latencies in a host-based map
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Update ObservedQuery for the new metrics.
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Tests improvements
* Now it's possible to spin multi-node test clusters
* Batch tests moved from legacy to session.<> calls.
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Added test for query with metrics and QueryObserver
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Test on Travis with newer C* version and add self to contributors
Signed-off-by: Alex Lourie <alex@instaclustr.com>
* Initiating values in the same way
Signed-off-by: Alex Lourie <alex@instaclustr.com>
db20ccb04312b6ec04b837f17558d22b99db8565 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-08-29 04:52:52+09:30
Change TestMarshalDate to work with UTC to avoid TZ errors (#1169)
Signed-off-by: Alex Lourie <alex@instaclustr.com>
44a37f43ca9080dd8867050293d02c69865f5b17 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-08-26 01:19:23+09:30
Shortening runtimes for DNS tests (#1160)
Signed-off-by: Alex Lourie <alex@instaclustr.com>
4ba1af8a026b230ce3c646e594865c07ce01b541 | Author: Alex Lourie <djay.il@gmail.com>
| 2018-04-22 20:52:07+09:30
Allow all users to run on Travis (#1095)
Signed-off-by: Alex Lourie <alex@instaclustr.com>