3a24f01b628f3f4a308debf64e02f14fee016d09 | Author: Chang Liu <chang@instaclustr.com>
| 2018-05-05 22:12:02+10:00
add conviction policy interface (#1081)
* add conviction policy interface and tests
* remove irrelevant test
* add hostinfo as parameter
* fix control.go
* fix comments and Reset function
3540fc649cd7fc57cef5612b7bacac7a4fc443d6 | Author: Chang Liu <chang@instaclustr.com>
| 2018-04-15 07:32:38+10:00
DowngradingConsistencyPolicy and enhancements to retry policy behaviour (#1082)
* initial policy setup
* stub for different query retry types and DowngradeConsistencyPolicy
* add implementation for the policy and straighten up the query executor logic for added retry types
* fix pointers
* remove debug messages and added returned error types
* rollback unecessary change
* add unit tests for new policy and returned retry types
* change after running gofmt
* fix print
* fix comment format, fix badly written switch case, remove redundant switch case
243d220854895b968e2f169d3650c27d83567bb3 | Author: Chang Liu <chang@instaclustr.com>
| 2018-03-28 16:31:52+11:00
store FBUtilities.getJustBroadcastNativeAddress() in system.local for rpc_address column
patch by Chang Liu; reviewed by Alexei Zotov and Stefan Miklosovic for CASSANDRA-11181
12e3a8c05db483441932e84ab6c35c339fb01de7 | Author: Chang Liu <chang@instaclustr.com>
| 2018-03-20 22:30:12+11:00
Add reconnection policies (#1077)
* test commit
* stub
* add reconnection policy
* add debug message
* add conviction policy interface and tests
* changes for a new branch
* fix code comment and default setting
* fix broken test
* change default setting
* remove conviction policy (now in #1081), add myself in AUTHORS
* fix code comment
* fix variable naming for ConstantReconnectionPolicy