Switch branches/tags
v2.2.0-alpha.00000000 v2.1.0-beta.20181015 v2.1.0-beta.20181008 v2.1.0-beta.20181001 v2.1.0-beta.20180924 v2.1.0-beta.20180917 v2.1.0-beta.20180910 v2.1.0-beta.20180904 v2.1.0-beta.20180827 v2.1.0-alpha.20180730 v2.1.0-alpha.20180702 v2.1.0-alpha.20180604 v2.1.0-alpha.20180507 v2.1.0-alpha.20180416 v2.1.0-alpha.00000000 v2.0.6 v2.0.6-rc.1 v2.0.5 v2.0.4 v2.0.3 v2.0.2 v2.0.1 v2.0.0 v2.0-rc.1 v2.0-beta.20180326 v2.0-beta.20180319 v2.0-beta.20180312 v2.0-beta.20180305 v2.0-alpha.20180212 v2.0-alpha.20180129 v2.0-alpha.20180122 v2.0-alpha.20180116 v2.0-alpha.20171218 v2.0-alpha.20171218-plus-left-join-fix v1.2-alpha.20171211 v1.2-alpha.20171204 v1.2-alpha.20171113 v1.2-alpha.20171026 v1.2-alpha.20170901 v1.1.9 v1.1.9-rc.1 v1.1.8 v1.1.7 v1.1.6 v1.1.5 v1.1.4 v1.1.3 v1.1.2 v1.1.1 v1.1.0 v1.1.0-rc.1 v1.1-beta.20170928 v1.1-beta.20170921 v1.1-beta.20170907 v1.1-alpha.20170817 v1.1-alpha.20170810 v1.1-alpha.20170803 v1.1-alpha.20170720 v1.1-alpha.20170713 v1.1-alpha.20170629 v1.1-alpha.20170622 v1.1-alpha.20170608 v1.1-alpha.20170601 v1.0.7 v1.0.6 v1.0.5 v1.0.4 v1.0.3 v1.0.2 v1.0.1 v1.0 v1.0-rc.3 v1.0-rc.2 v1.0-rc.1 v0.1-alpha beta-20170420 beta-20170413 beta-20170406 beta-20170330 beta-20170323 beta-20170309 beta-20170223 beta-20170216 beta-20170209 beta-20170126 beta-20170112 beta-20170105 beta-20161215 beta-20161208 beta-20161201 beta-20161110 beta-20161103 beta-20161027 beta-20161013 beta-20161006 beta-20160929 beta-20160915 beta-20160908 beta-20160829 beta-20160728
Nothing to show
Find file History
tschottdorf kv: cache leaseholder on successful response
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 kv, roachpb: make the DistSender wait for all sub-batches Sep 26, 2018
api.pb.go storage: don't serve requests on RHS after a merge commits Oct 8, 2018
api.proto storage: don't serve requests on RHS after a merge commits Oct 8, 2018
api_test.go *: Correct names Jul 26, 2018
app_stats.go Merge pull request #17728 from dt/stats Aug 17, 2017
app_stats.pb.go sql: quantize the statement counts reported to the reg server Aug 21, 2018
app_stats.proto sql: quantize the statement counts reported to the reg server Aug 21, 2018
app_stats_test.go roachpb: combine NumericStat helper Aug 17, 2017
batch.go kv: cache leaseholder on successful response Oct 10, 2018
batch_generated.go storage: include summary of prereq batches in cmdQ logs/traces Sep 24, 2018
batch_test.go kv: span refresher no longer rejects some requests overlapping with a… Sep 4, 2018
data.go client/roachpb: replace txn.GetStrippedTxnCoordMeta Sep 5, 2018
data.pb.go Merge #30047 Sep 19, 2018
data.proto Merge #30047 Sep 19, 2018
data_test.go sql: fix (really: add) the handling of bit arrays Sep 4, 2018
dep_test.go *: linter to keep c-deps out of some packages Sep 10, 2018
errors.go storage: report optional StoreID with RangeNotFoundError Oct 10, 2018
errors.pb.go storage: report optional StoreID with RangeNotFoundError Oct 10, 2018
errors.proto storage: report optional StoreID with RangeNotFoundError Oct 10, 2018
errors_test.go storage: change the errors generated by BeginTxn replay protection Aug 28, 2018
gen_batch.go storage: include summary of prereq batches in cmdQ logs/traces Sep 24, 2018
internal.go cli,ts: add tsdump command Jul 27, 2018
internal.pb.go ts: Implement new on-disk format for time series Jun 5, 2018
internal.proto ts: Implement new on-disk format for time series Jun 5, 2018
internal_raft.pb.go all: clean up ResponseCache and SequenceCache legacy Mar 29, 2018
internal_raft.proto all: clean up ResponseCache and SequenceCache legacy Mar 29, 2018
io-formats.pb.go importccl: add max_row_size option to PGDUMP and PGCOPY Jul 9, 2018
io-formats.proto importccl: add max_row_size option to PGDUMP and PGCOPY Jul 9, 2018
main_test.go build,docgen: automatically regenerate docs and protobufs Jan 29, 2018
merge_spans.go roachpb: valid method for spans to check if they're logically valid Dec 9, 2017
merge_spans_test.go roachpb: valid method for spans to check if they're logically valid Dec 9, 2017
metadata.go roachpb: fix RangeDescriptor generation counter printing Aug 24, 2018
metadata.pb.go storage: advertise per-locality hosts Aug 14, 2018
metadata.proto storage: advertise per-locality hosts Aug 14, 2018
metadata_test.go roachpb: Remove unused Attributes methods Feb 18, 2018
method.go storage: Avoid adding all replicas at once in RelocateRange Sep 19, 2018
method_string.go storage: Avoid adding all replicas at once in RelocateRange Sep 19, 2018
span_group.go importccl: Checkpoint SSTable Ingestion Apr 9, 2018
string_test.go roachpb: replace `gogoproto.onlyone` with `oneof` in BatchRequest/Bat… Jul 3, 2018
version.go fixup! add real mixed version tests Aug 15, 2017
version_test.go migrations part 1/2: add version cluster setting Jul 31, 2017