tschottdorf
Whenever a successful response is received from an RPC that we know has to contact the leaseholder to succeed, update the leaseholder cache. The immediate motivation for this is to be able to land the preceding commits, which greatly exacerbated (as in, added a much faster failure mode to) ``` make stress PKG=./pkg/sql/logictest TESTS=TestPlannerLogic/5node-dist/distsql_interleaved_join ``` However, the change is one we've wanted to make for a while; our caching and in particular the eviction of leaseholders has been deficient essentially ever since it was first introduced. Touches #31068. Release note: None
Latest commit
857b9c0
Oct 9, 2018
Permalink
| .. | |||
| Failed to load latest commit information. | |||
|
|
api.go |
|
|
|
|
api.pb.go |
|
|
|
|
api.proto |
|
|
|
|
api_test.go |
|
|
|
|
app_stats.go |
|
|
|
|
app_stats.pb.go |
|
|
|
|
app_stats.proto |
|
|
|
|
app_stats_test.go |
|
|
|
|
batch.go |
|
|
|
|
batch_generated.go |
|
|
|
|
batch_test.go |
|
|
|
|
data.go |
|
|
|
|
data.pb.go |
|
|
|
|
data.proto |
|
|
|
|
data_test.go |
|
|
|
|
dep_test.go |
|
|
|
|
errors.go |
|
|
|
|
errors.pb.go |
|
|
|
|
errors.proto |
|
|
|
|
errors_test.go |
|
|
|
|
gen_batch.go |
|
|
|
|
internal.go |
|
|
|
|
internal.pb.go |
|
|
|
|
internal.proto |
|
|
|
|
internal_raft.pb.go |
|
|
|
|
internal_raft.proto |
|
|
|
|
io-formats.pb.go |
|
|
|
|
io-formats.proto |
|
|
|
|
main_test.go |
|
|
|
|
merge_spans.go |
|
|
|
|
merge_spans_test.go |
|
|
|
|
metadata.go |
|
|
|
|
metadata.pb.go |
|
|
|
|
metadata.proto |
|
|
|
|
metadata_test.go |
|
|
|
|
method.go |
|
|
|
|
method_string.go |
|
|
|
|
span_group.go |
|
|
|
|
string_test.go |
|
|
|
|
version.go |
|
|
|
|
version_test.go |
|
|