hash
stringlengths
40
40
date
stringdate
2016-01-09 03:44:20
2025-03-21 23:04:15
author
stringclasses
177 values
commit_message
stringlengths
11
157
is_merge
bool
1 class
masked_commit_message
stringlengths
6
148
type
stringclasses
87 values
git_diff
stringlengths
172
12.1M
be0c49df8da403ef058f7fb986669a709e4d7004
2016-11-29 22:24:39
Peter Mattis
storage: fix replica pointer tag
false
fix replica pointer tag
storage
diff --git a/pkg/storage/replica.go b/pkg/storage/replica.go index 413a559c5195..b7ea3414d07d 100644 --- a/pkg/storage/replica.go +++ b/pkg/storage/replica.go @@ -573,7 +573,7 @@ func newReplica(rangeID roachpb.RangeID, store *Store) *Replica { // Add replica log tag - the value is rangeStr.String(). r.AmbientConte...
fd7ebc34be83eec9f4cc9c2caf6fb1181743438b
2018-12-09 19:41:04
Nikhil Benesch
build: link libncurses statically
false
link libncurses statically
build
diff --git a/build/builder.sh b/build/builder.sh index 153d1cd606f3..555d2e063ffc 100755 --- a/build/builder.sh +++ b/build/builder.sh @@ -3,7 +3,7 @@ set -euo pipefail image=cockroachdb/builder -version=20181019-161416 +version=20181128-142752 function init() { docker build --tag="${image}" "$(dirname "${0}"...
3f2c2a5323f80760f3f0f664088da56c3be165c2
2024-01-05 22:45:37
Renato Costa
roachtest: set random seed in schemachange step of version-upgrade
false
set random seed in schemachange step of version-upgrade
roachtest
diff --git a/pkg/cmd/roachtest/tests/versionupgrade.go b/pkg/cmd/roachtest/tests/versionupgrade.go index 5f2c13772b20..1085be7b2b07 100644 --- a/pkg/cmd/roachtest/tests/versionupgrade.go +++ b/pkg/cmd/roachtest/tests/versionupgrade.go @@ -168,8 +168,9 @@ func runVersionUpgrade(ctx context.Context, t test.Test, c cluste...
03a9de08b009de32e110d9c66b3e503da8cb797e
2019-04-19 19:07:53
Andrew Kimball
sql: Fix cases where ColumnType is unnecessarily passed by value
false
Fix cases where ColumnType is unnecessarily passed by value
sql
diff --git a/pkg/ccl/changefeedccl/avro.go b/pkg/ccl/changefeedccl/avro.go index 824d0e3cdd17..9b2a170fc686 100644 --- a/pkg/ccl/changefeedccl/avro.go +++ b/pkg/ccl/changefeedccl/avro.go @@ -480,7 +480,7 @@ func (r *avroDataRecord) rowFromNative(native interface{}) (sqlbase.EncDatumRow, if err != nil { return ni...
e80d4895fe9e50d3e71b2e10d2722c9371094956
2024-12-19 06:55:33
David Taylor
jobs: add new columns to system.jobs table
false
add new columns to system.jobs table
jobs
diff --git a/docs/generated/settings/settings-for-tenants.txt b/docs/generated/settings/settings-for-tenants.txt index ec87b04dafbe..fbfdc445aeef 100644 --- a/docs/generated/settings/settings-for-tenants.txt +++ b/docs/generated/settings/settings-for-tenants.txt @@ -401,4 +401,4 @@ trace.span_registry.enabled boolean f...
feabe72f0071a56e9c987f1c5ea8a35962801de9
2019-01-23 20:17:37
Peter Mattis
storage: fix lastReplicaAdded computation
false
fix lastReplicaAdded computation
storage
diff --git a/pkg/storage/replica_init.go b/pkg/storage/replica_init.go index 5edac3e91696..a7cba37952fb 100644 --- a/pkg/storage/replica_init.go +++ b/pkg/storage/replica_init.go @@ -17,6 +17,7 @@ package storage import ( "context" "os" + "time" "github.com/cockroachdb/cockroach/pkg/config" "github.com/cockr...
f6463996176e3310dd8682baeceae8afbf161720
2017-09-25 22:21:40
Richard Wu
docs: a few nit/minor fixes in Life of a Query tech note (#18719)
false
a few nit/minor fixes in Life of a Query tech note (#18719)
docs
diff --git a/docs/tech-notes/life_of_a_query.md b/docs/tech-notes/life_of_a_query.md index fbf66d335863..d09f86c87182 100644 --- a/docs/tech-notes/life_of_a_query.md +++ b/docs/tech-notes/life_of_a_query.md @@ -174,7 +174,7 @@ context of a KV transaction. ### Building execution plans -Now that we'have figured out ...
4a46a14a07e5669ef42cb38a91060aa18bf2fcb3
2019-05-30 07:56:43
Ben Darnell
libroach: Move libroachccl.h
false
Move libroachccl.h
libroach
diff --git a/c-deps/libroach/CMakeLists.txt b/c-deps/libroach/CMakeLists.txt index fe43dcf50f1a..7ade7cb466b9 100644 --- a/c-deps/libroach/CMakeLists.txt +++ b/c-deps/libroach/CMakeLists.txt @@ -72,6 +72,7 @@ add_library(roachccl protosccl/ccl/storageccl/engineccl/enginepbccl/stats.pb.cc ) target_include_directori...
d799d8e1ef958253e5a7950bdf78fbc835dd8d70
2023-08-01 21:24:24
Nathan VanBenschoten
server: export distsender metrics from SQL pods
false
export distsender metrics from SQL pods
server
diff --git a/pkg/server/tenant.go b/pkg/server/tenant.go index c42fca7c77c9..2d25abc8bb6b 100644 --- a/pkg/server/tenant.go +++ b/pkg/server/tenant.go @@ -1089,6 +1089,7 @@ func makeTenantSQLServerArgs( TestingKnobs: dsKnobs, } ds := kvcoord.NewDistSender(dsCfg) + registry.AddMetricStruct(ds.Metrics()) ...
7291e4d860275078703d57d045efcb3efba47792
2022-09-08 02:50:16
Yahor Yuzefovich
sql: improve tracing of some things
false
improve tracing of some things
sql
diff --git a/pkg/sql/colexec/columnarizer.go b/pkg/sql/colexec/columnarizer.go index e5fe9ed6d0a6..e4730b72e096 100644 --- a/pkg/sql/colexec/columnarizer.go +++ b/pkg/sql/colexec/columnarizer.go @@ -60,6 +60,12 @@ type Columnarizer struct { metadataAllocator *colmem.Allocator input execinfra.RowSource ...
2f3afe7eff379a8f16f8f72caa123f1530c0a0ef
2023-10-19 20:10:32
Rail Aliiev
release: verify SHA before publishing
false
verify SHA before publishing
release
diff --git a/build/teamcity/internal/cockroach/release/publish/publish-staged-cockroach-release.sh b/build/teamcity/internal/cockroach/release/publish/publish-staged-cockroach-release.sh index 0850ac1f1028..7909b3b80b56 100755 --- a/build/teamcity/internal/cockroach/release/publish/publish-staged-cockroach-release.sh +...
e49b71a1a26ccf38f7bad2196e111c77a1f0bea7
2020-05-03 02:39:27
Vlad Artamonov
server: make SRV resolution for join list non-fatal
false
make SRV resolution for join list non-fatal
server
diff --git a/pkg/cli/start.go b/pkg/cli/start.go index a91722984c5b..06498713f14e 100644 --- a/pkg/cli/start.go +++ b/pkg/cli/start.go @@ -565,7 +565,7 @@ func runStart(cmd *cobra.Command, args []string, disableReplication bool) error // Initialize the node's configuration from startup parameters. // This also read...
c5eae6a3943374e3ba732c1231d391614d4a2b73
2021-01-08 23:33:22
Raphael 'kena' Poss
server: remove support for binary protobuf payloads in the HTTP endpoints
false
remove support for binary protobuf payloads in the HTTP endpoints
server
diff --git a/pkg/server/server.go b/pkg/server/server.go index a315a2f93c30..787f3ec15b8f 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1238,13 +1238,10 @@ func (s *Server) PreStart(ctx context.Context) error { EmitDefaults: true, Indent: " ", } - protopb := new(protoutil.ProtoPb) gw...
c4ff1b2cb4fa60315e4eb972d02a8ad78e66c588
2016-11-29 21:37:25
Raphael 'kena' Poss
sql: fix the implementation of GROUP BY with planNodes.
false
fix the implementation of GROUP BY with planNodes.
sql
diff --git a/pkg/sql/group.go b/pkg/sql/group.go index 6559f60789f0..ad624349c786 100644 --- a/pkg/sql/group.go +++ b/pkg/sql/group.go @@ -152,10 +152,19 @@ func (p *planner) groupBy(n *parser.SelectClause, s *selectNode) (*groupNode, er // Replace the render expressions in the scanNode with expressions that // c...
ff1a727add46b9916f7f7c1b42fa1c8013eb8ba2
2018-06-21 23:47:31
Matt Jibson
importccl: remove IMPORT formats from grammar
false
remove IMPORT formats from grammar
importccl
diff --git a/docs/generated/sql/bnf/export_stmt.bnf b/docs/generated/sql/bnf/export_stmt.bnf index fc56b9012fd0..6bcff4c299dc 100644 --- a/docs/generated/sql/bnf/export_stmt.bnf +++ b/docs/generated/sql/bnf/export_stmt.bnf @@ -1,2 +1,2 @@ export_stmt ::= - 'EXPORT' 'INTO' CSV file_location opt_with_options 'FROM' (| '...
68c479569fbf815ff509d5c321bfd944db362e31
2021-04-21 16:08:04
Steven Danna
changefeedccl: remove changefeed.poll_request_nanos
false
remove changefeed.poll_request_nanos
changefeedccl
diff --git a/pkg/ccl/changefeedccl/kvfeed/metrics.go b/pkg/ccl/changefeedccl/kvfeed/metrics.go index 253af45694a9..12156051c3fb 100644 --- a/pkg/ccl/changefeedccl/kvfeed/metrics.go +++ b/pkg/ccl/changefeedccl/kvfeed/metrics.go @@ -14,8 +14,6 @@ import ( "github.com/cockroachdb/cockroach/pkg/util/metric" ) -const p...
9bb92efcc8d051a65931bea6ed79272d9808be56
2020-08-27 22:57:15
Aditya Maru
build: fix roachtest skip when stats.json is not present
false
fix roachtest skip when stats.json is not present
build
diff --git a/build/teamcity-nightly-roachtest.sh b/build/teamcity-nightly-roachtest.sh index 3ed7f8c72621..9adca76758fb 100755 --- a/build/teamcity-nightly-roachtest.sh +++ b/build/teamcity-nightly-roachtest.sh @@ -59,7 +59,9 @@ function upload_stats { # a `.` folder in ${stats_dir}, which we don't want. ...
2afa3c127f423d631a35d549ba6b2400c5092ccc
2021-01-29 00:27:25
Adam Storm
sql: Implement ALTER TABLE ... LOCALITY REGIONAL BY TABLE from GLOBAL
false
Implement ALTER TABLE ... LOCALITY REGIONAL BY TABLE from GLOBAL
sql
diff --git a/pkg/ccl/logictestccl/testdata/logic_test/alter_table_locality b/pkg/ccl/logictestccl/testdata/logic_test/alter_table_locality index 5947267f270f..3f0770163249 100644 --- a/pkg/ccl/logictestccl/testdata/logic_test/alter_table_locality +++ b/pkg/ccl/logictestccl/testdata/logic_test/alter_table_locality @@ -1...
711f4f7f984e10b39918efd954960c122091b8e7
2020-12-16 20:32:19
Yahor Yuzefovich
colexec: introduce streaming mode to the columnarizer
false
introduce streaming mode to the columnarizer
colexec
diff --git a/pkg/ccl/changefeedccl/changefeed_processors.go b/pkg/ccl/changefeedccl/changefeed_processors.go index c77722826683..23e19dd2062d 100644 --- a/pkg/ccl/changefeedccl/changefeed_processors.go +++ b/pkg/ccl/changefeedccl/changefeed_processors.go @@ -42,6 +42,7 @@ import ( type changeAggregator struct { ex...
0d30dea008e1bf013ebdd4bdcc81a28725998fc7
2022-10-19 23:59:22
Shiranka Miskin
changefeedccl: flush to sink before initial_scan_only completion
false
flush to sink before initial_scan_only completion
changefeedccl
diff --git a/pkg/ccl/changefeedccl/changefeed_processors.go b/pkg/ccl/changefeedccl/changefeed_processors.go index 97fc22fc3fa4..4256f69bb20b 100644 --- a/pkg/ccl/changefeedccl/changefeed_processors.go +++ b/pkg/ccl/changefeedccl/changefeed_processors.go @@ -478,8 +478,7 @@ func (ca *changeAggregator) Next() (rowenc.En...
e3482561f857671a1407ea9e1a1f7ec1c351f8b0
2018-07-07 02:53:55
Nikhil Benesch
engine: allow clients to update an iterator's upper bound
false
allow clients to update an iterator's upper bound
engine
diff --git a/pkg/storage/engine/engine.go b/pkg/storage/engine/engine.go index 3af001ea1409..abea313ad578 100644 --- a/pkg/storage/engine/engine.go +++ b/pkg/storage/engine/engine.go @@ -118,6 +118,8 @@ type Iterator interface { MVCCScan(start, end roachpb.Key, max int64, timestamp hlc.Timestamp, txn *roachpb.Tran...
02ddfb437a4784d1d5b262ead138f94327e0c67b
2023-01-19 02:01:21
Renato Costa
roachtest: attach stack when recovering from panic in monitor
false
attach stack when recovering from panic in monitor
roachtest
diff --git a/pkg/cmd/roachtest/monitor.go b/pkg/cmd/roachtest/monitor.go index 758205337714..f177eb70b732 100644 --- a/pkg/cmd/roachtest/monitor.go +++ b/pkg/cmd/roachtest/monitor.go @@ -98,7 +98,7 @@ func (m *monitorImpl) Go(fn func(context.Context) error) { // Note that `t.Fatal` calls `panic(err)`, so this mecha...
7a7bf1abc9571db1bc929fafa60b250c657f72bf
2020-04-28 21:17:58
Darin
ui: do not report errors for ranges with untrusted raft log size
false
do not report errors for ranges with untrusted raft log size
ui
diff --git a/pkg/kv/kvserver/replica_metrics.go b/pkg/kv/kvserver/replica_metrics.go index a2ea911adc51..b9fd03c974a3 100644 --- a/pkg/kv/kvserver/replica_metrics.go +++ b/pkg/kv/kvserver/replica_metrics.go @@ -58,6 +58,7 @@ func (r *Replica) Metrics( desc := r.mu.state.Desc zone := r.mu.zone raftLogSize := r.mu....
2acbfebec1ae8ea62c51c9a97e93fdbb93c7eae0
2021-04-09 20:13:42
Erik Grinaker
roachtest: avoid hang in copy/bank txn tests
false
avoid hang in copy/bank txn tests
roachtest
diff --git a/pkg/cmd/roachtest/copy.go b/pkg/cmd/roachtest/copy.go index 6963f19abce3..b7a7990809e2 100644 --- a/pkg/cmd/roachtest/copy.go +++ b/pkg/cmd/roachtest/copy.go @@ -14,7 +14,9 @@ import ( "context" gosql "database/sql" "fmt" + "math" "strings" + "time" "github.com/cockroachdb/cockroach-go/crdb" ...
293f2140a24334487c4f2a8eb3fe4007fe6e156e
2024-03-27 08:00:45
Nathan VanBenschoten
kv: return error from ResponseKeyIterate with nil response
false
return error from ResponseKeyIterate with nil response
kv
diff --git a/pkg/kv/kvpb/batch.go b/pkg/kv/kvpb/batch.go index b68db33cfffe..0ec8bcf9239f 100644 --- a/pkg/kv/kvpb/batch.go +++ b/pkg/kv/kvpb/batch.go @@ -513,7 +513,7 @@ func (ba *BatchRequest) RefreshSpanIterate(br *BatchResponse, fn func(roachpb.Sp if br != nil { resp = br.Responses[i].GetInner() } - if b...
b5bbdf4461bb9b24d71394fc7e85dc601260a2e1
2021-02-27 03:13:55
Radu Berinde
opt: show paired joiner continuation column
false
show paired joiner continuation column
opt
diff --git a/pkg/sql/opt/exec/execbuilder/testdata/inverted_index b/pkg/sql/opt/exec/execbuilder/testdata/inverted_index index 4aaa06c75554..bd3f2d18f9e2 100644 --- a/pkg/sql/opt/exec/execbuilder/testdata/inverted_index +++ b/pkg/sql/opt/exec/execbuilder/testdata/inverted_index @@ -1026,6 +1026,7 @@ left-join (lookup g...
db2ee5057f761dbe41cba34a058f09fe79757c9e
2023-04-17 20:48:56
Rail Aliiev
release: fix base source directory location
false
fix base source directory location
release
diff --git a/build/teamcity/internal/cockroach/release/publish/publish-staged-cockroach-release.sh b/build/teamcity/internal/cockroach/release/publish/publish-staged-cockroach-release.sh index 4a059df75fa4..5af916d555e3 100755 --- a/build/teamcity/internal/cockroach/release/publish/publish-staged-cockroach-release.sh +...
33c5cc94709db1fcb7da549c7bac511edea05e9e
2020-07-15 22:26:56
Radu Berinde
opt: consolidate exec factory scan parameters in a struct
false
consolidate exec factory scan parameters in a struct
opt
diff --git a/pkg/sql/distsql_spec_exec_factory.go b/pkg/sql/distsql_spec_exec_factory.go index 4a48d53e4818..4e235760b51f 100644 --- a/pkg/sql/distsql_spec_exec_factory.go +++ b/pkg/sql/distsql_spec_exec_factory.go @@ -156,23 +156,11 @@ func (e *distSQLSpecExecFactory) ConstructValues( // performs scanNode creation of...
ad9d0491fddb18e5d1d471f08d18af0a811243a1
2022-04-28 23:11:44
Aditya Maru
backupccl: enable chaining of pts records for scheduled backups
false
enable chaining of pts records for scheduled backups
backupccl
diff --git a/docs/generated/settings/settings-for-tenants.txt b/docs/generated/settings/settings-for-tenants.txt index ed9ad06da725..840b62d02ebc 100644 --- a/docs/generated/settings/settings-for-tenants.txt +++ b/docs/generated/settings/settings-for-tenants.txt @@ -43,7 +43,7 @@ kv.replication_reports.interval duratio...
8184dc1ed441901fbc5a9734c9f603e3836c0051
2022-11-03 00:06:10
Nathan VanBenschoten
kv: fix interaction between lock reservations and SKIP LOCKED
false
fix interaction between lock reservations and SKIP LOCKED
kv
diff --git a/pkg/kv/kvserver/concurrency/concurrency_control.go b/pkg/kv/kvserver/concurrency/concurrency_control.go index 2358b32efa42..6d7342da0d1d 100644 --- a/pkg/kv/kvserver/concurrency/concurrency_control.go +++ b/pkg/kv/kvserver/concurrency/concurrency_control.go @@ -767,12 +767,15 @@ type lockTableGuard interfa...
2e7ba66d98e49a8aa0ae8234d35ae63ecf52571e
2016-07-25 09:02:53
Nathan VanBenschoten
sql: Require DROP privileges to RENAME a database
false
Require DROP privileges to RENAME a database
sql
diff --git a/sql/rename.go b/sql/rename.go index 5762dbb422d1..a7476459db8c 100644 --- a/sql/rename.go +++ b/sql/rename.go @@ -36,7 +36,7 @@ var ( ) // RenameDatabase renames the database. -// Privileges: security.RootUser user. +// Privileges: security.RootUser user, DROP on source database. // Notes: postgres ...
b514d3d21c723b5e077b6e7ac065e0e19eaae36c
2023-06-27 23:33:28
irfan sharif
kvserver: de-flake TestMergeQueueSeesLearnerOrJointConfig
false
de-flake TestMergeQueueSeesLearnerOrJointConfig
kvserver
diff --git a/pkg/kv/kvserver/raft_transport.go b/pkg/kv/kvserver/raft_transport.go index 3090305ce134..d9ad130a8a65 100644 --- a/pkg/kv/kvserver/raft_transport.go +++ b/pkg/kv/kvserver/raft_transport.go @@ -446,18 +446,6 @@ func (t *RaftTransport) RaftMessageBatch(stream MultiRaft_RaftMessageBatchServer taskCtx = t.A...
be6247ca2d94de1e7f9b18145d7da7c3900cef40
2016-04-21 05:39:09
Andrei Matei
sql: get rid of GetDatabaseDescEx
false
get rid of GetDatabaseDescEx
sql
diff --git a/sql/alter_table.go b/sql/alter_table.go index 3657477effc4..6319f1e30e39 100644 --- a/sql/alter_table.go +++ b/sql/alter_table.go @@ -35,6 +35,9 @@ func (p *planner) AlterTable(n *parser.AlterTable) (planNode, *roachpb.Error) { if pErr != nil { return nil, pErr } + if dbDesc == nil { + return nil, ...
7bdd98e7496397ebe355f5355f6f42d1c2a7f0d8
2022-03-10 05:22:12
Andrei Matei
sql: don't silently ignore cluster_inflight_traces queries
false
don't silently ignore cluster_inflight_traces queries
sql
diff --git a/pkg/sql/crdb_internal.go b/pkg/sql/crdb_internal.go index 463c779d6d5e..9e90c39378db 100644 --- a/pkg/sql/crdb_internal.go +++ b/pkg/sql/crdb_internal.go @@ -1367,10 +1367,10 @@ CREATE TABLE crdb_internal.cluster_inflight_traces ( }}}, populate: func(ctx context.Context, p *planner, db catalog.Database...
d1ddaf5403405685463580cb8f5a6f7f2c90db9a
2020-07-29 04:23:00
irfan sharif
roachtest: fix release-20.1 roachtests failing due to double-init
false
fix release-20.1 roachtests failing due to double-init
roachtest
diff --git a/pkg/cmd/roachprod/install/cockroach.go b/pkg/cmd/roachprod/install/cockroach.go index a14405ae27d9..06666908a2a5 100644 --- a/pkg/cmd/roachprod/install/cockroach.go +++ b/pkg/cmd/roachprod/install/cockroach.go @@ -168,6 +168,26 @@ func (r Cockroach) Start(c *SyncedCluster, extraArgs []string) { } } ...
ea55bd2e134c323adb84dfed4fc3d1f5f28b2f51
2017-06-09 02:27:16
David Taylor
vendor: switch to dep
false
switch to dep
vendor
diff --git a/.gitattributes b/.gitattributes index b72d81bff73c..44b17e172321 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,4 +4,4 @@ pkg/sql/parser/sql.go -diff pkg/ui/src/js/protos.* -diff pkg/ui/generated/* -diff pkg/ui/yarn.lock -merge -glide.lock -merge +Gopkg.toml -merge diff --git a/Gopkg.lock b/Gopk...
1f777d8037a92eb6e7342350513d3c68cc7ab6ac
2020-08-15 01:50:08
Andrei Matei
roachtest: don't run kv0bench tests nightly
false
don't run kv0bench tests nightly
roachtest
diff --git a/pkg/cmd/roachtest/kvbench.go b/pkg/cmd/roachtest/kvbench.go index 5af5451da428..6a56d451bf63 100644 --- a/pkg/cmd/roachtest/kvbench.go +++ b/pkg/cmd/roachtest/kvbench.go @@ -80,7 +80,13 @@ func registerKVBenchSpec(r *testRegistry, b kvBenchSpec) { name := strings.Join(nameParts, "/") nodes := makeClust...
55e13e4c8b3d3c671d7c3083a7637631e78f5643
2021-09-10 22:09:48
Marylia Gutierrez
ui: update clear sql stats link
false
update clear sql stats link
ui
diff --git a/pkg/ui/workspaces/cluster-ui/src/tableStatistics/tableStatistics.module.scss b/pkg/ui/workspaces/cluster-ui/src/tableStatistics/tableStatistics.module.scss index 0b15463d0d4d..683d665867b8 100644 --- a/pkg/ui/workspaces/cluster-ui/src/tableStatistics/tableStatistics.module.scss +++ b/pkg/ui/workspaces/clus...
6863519eb98acb83315221fdf50cd78b48208687
2018-03-02 14:33:33
Andrew Kimball
sql: Export binary and comparison op nullableArgs field
false
Export binary and comparison op nullableArgs field
sql
diff --git a/pkg/sql/sem/builtins/aggregate_builtins.go b/pkg/sql/sem/builtins/aggregate_builtins.go index c844124ab46c..2b19f5553e25 100644 --- a/pkg/sql/sem/builtins/aggregate_builtins.go +++ b/pkg/sql/sem/builtins/aggregate_builtins.go @@ -93,7 +93,7 @@ var Aggregates = map[string][]tree.Builtin{ }, newArray...
ae156d3cb8b3fda4f49ff9c6a43a509359132371
2016-08-26 00:59:39
Matt Jibson
sql: use timestamps for consistent, retryable multi-txn backups
false
use timestamps for consistent, retryable multi-txn backups
sql
diff --git a/cli/backup.go b/cli/backup.go index f2587546b832..17faeb59d89c 100644 --- a/cli/backup.go +++ b/cli/backup.go @@ -27,6 +27,7 @@ import ( "github.com/cockroachdb/cockroach/sql" "github.com/cockroachdb/cockroach/sql/parser" + "github.com/cockroachdb/cockroach/util/hlc" ) type backupContext struct {...
119c084c7e9dfa9be81e0e268c92c000847c4037
2024-12-03 02:12:14
Andrew Baptist
kv: disable raft tracing to cockroach.log by default
false
disable raft tracing to cockroach.log by default
kv
diff --git a/pkg/kv/kvserver/rafttrace/rafttrace.go b/pkg/kv/kvserver/rafttrace/rafttrace.go index b2741a98901f..cd9eaa4823be 100644 --- a/pkg/kv/kvserver/rafttrace/rafttrace.go +++ b/pkg/kv/kvserver/rafttrace/rafttrace.go @@ -49,7 +49,7 @@ var LogRaftTracesToCockroachLog = settings.RegisterBoolSetting( settings.Syst...
5fd3c9a31536e380914eb969e0cfbfb386b51ff3
2021-05-26 22:50:40
Ricky Stewart
bazel: exclude `_bazel` from consideration by gazelle
false
exclude `_bazel` from consideration by gazelle
bazel
diff --git a/BUILD.bazel b/BUILD.bazel index ee916db23bcb..5777c4d6647a 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -68,9 +68,11 @@ load("@bazel_gazelle//:def.bzl", "gazelle") # - The vendor directory. We're using external targets for go dependencies, # generated without actually looking at vendor. See #58229. #...
29f34cde57882804a5ec03e4fca41c51f99ab6ad
2020-01-11 06:25:15
Bilal Akhtar
engine: Add more test cases to test mvccResolveIntentHistory
false
Add more test cases to test mvccResolveIntentHistory
engine
diff --git a/pkg/storage/engine/testdata/mvcc_histories/ignored_seq_nums b/pkg/storage/engine/testdata/mvcc_histories/ignored_seq_nums index cab836b5f009..6e9699ad8144 100644 --- a/pkg/storage/engine/testdata/mvcc_histories/ignored_seq_nums +++ b/pkg/storage/engine/testdata/mvcc_histories/ignored_seq_nums @@ -1,6 +1,3 ...
d3ba7b4d613f31c2c32db282c1abf5e6d867344a
2020-05-07 18:40:06
Spas Bojanov
roachtest: jobs/mixed-versions applies to rel20.1 and up
false
jobs/mixed-versions applies to rel20.1 and up
roachtest
diff --git a/pkg/cmd/roachtest/mixed_version_jobs.go b/pkg/cmd/roachtest/mixed_version_jobs.go index b175c7dae276..9b2b5342bdf9 100644 --- a/pkg/cmd/roachtest/mixed_version_jobs.go +++ b/pkg/cmd/roachtest/mixed_version_jobs.go @@ -275,9 +275,16 @@ func runJobsMixedVersions( func registerJobsMixedVersions(r *testRegi...
2a118aadb7cc48b938c79a823fdbe4eda81c37c7
2022-12-13 10:07:51
Andrew Werner
upgrades: fix upgrade to add statement_diagnostics_requests.completed_idx
false
fix upgrade to add statement_diagnostics_requests.completed_idx
upgrades
diff --git a/pkg/cmd/roachtest/tests/validate_system_schema_after_version_upgrade.go b/pkg/cmd/roachtest/tests/validate_system_schema_after_version_upgrade.go index 89b73e0cca12..716593ea90e9 100644 --- a/pkg/cmd/roachtest/tests/validate_system_schema_after_version_upgrade.go +++ b/pkg/cmd/roachtest/tests/validate_syst...
ca3ea6b831d7152d13d496d7fdc5e872cf338acb
2021-01-08 22:17:08
Raphael 'kena' Poss
pgwire: make it possible for a SQL proxy to override the client addr
false
make it possible for a SQL proxy to override the client addr
pgwire
diff --git a/pkg/server/server.go b/pkg/server/server.go index a315a2f93c30..8b5615dcf586 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -84,7 +84,6 @@ import ( "github.com/cockroachdb/cockroach/pkg/util/tracing" "github.com/cockroachdb/cockroach/pkg/util/uuid" "github.com/cockroachdb/errors" - "...
583db2a5156c3f19e1ea3292348cf1a52958d0e2
2022-03-30 06:42:42
Oliver Tan
sql: add extra logging for COPY statements
false
add extra logging for COPY statements
sql
diff --git a/pkg/sql/conn_executor.go b/pkg/sql/conn_executor.go index feaa82b7424e..3636eabe7fa5 100644 --- a/pkg/sql/conn_executor.go +++ b/pkg/sql/conn_executor.go @@ -2306,13 +2306,22 @@ func isCopyToExternalStorage(cmd CopyIn) bool { func (ex *connExecutor) execCopyIn( ctx context.Context, cmd CopyIn, ) (_ fsm...
a5f997d8c73c0a2b3f5720e4991c02462785659d
2024-08-27 02:22:12
Nathan VanBenschoten
kv: comment that manual campaign is no-op for fortified followers
false
comment that manual campaign is no-op for fortified followers
kv
diff --git a/pkg/kv/kvserver/replica_raft.go b/pkg/kv/kvserver/replica_raft.go index 996212f656fc..c30e81131040 100644 --- a/pkg/kv/kvserver/replica_raft.go +++ b/pkg/kv/kvserver/replica_raft.go @@ -2386,14 +2386,26 @@ func shouldCampaignOnLeaseRequestRedirect( // campaignLocked campaigns for raft leadership, using ...
2f86f2780b7e07196cf8b4e43ae07baa557dc098
2020-09-10 19:11:17
Aditya Maru
backupccl: fix glob used when finding prior BACKUP subdirs
false
fix glob used when finding prior BACKUP subdirs
backupccl
diff --git a/pkg/ccl/backupccl/backup_test.go b/pkg/ccl/backupccl/backup_test.go index e1c04f2509ec..4cc045683821 100644 --- a/pkg/ccl/backupccl/backup_test.go +++ b/pkg/ccl/backupccl/backup_test.go @@ -34,6 +34,7 @@ import ( "github.com/aws/aws-sdk-go/aws/credentials" "github.com/cockroachdb/cockroach-go/crdb" "...
e4a9117a2b667c508559cdd639b26603991a6fe5
2018-01-11 09:03:41
Justin Jaffray
sql: implement storing offsets in JSON values
false
implement storing offsets in JSON values
sql
diff --git a/pkg/util/json/encode.go b/pkg/util/json/encode.go index a5d00d28d61e..469342814e4c 100644 --- a/pkg/util/json/encode.go +++ b/pkg/util/json/encode.go @@ -22,15 +22,7 @@ import ( // This file implements the format described in the JSONB encoding RFC. -const nullTag = 0x00000000 -const stringTag = 0x100...
8fdd7bd917032e67fba1dd920ee226d3ce0039b6
2019-03-29 20:40:09
Peter Mattis
roachprod: change the location cores are written to
false
change the location cores are written to
roachprod
diff --git a/pkg/cmd/roachprod/vm/aws/support.go b/pkg/cmd/roachprod/vm/aws/support.go index 7276aefb2434..bbc4eaca5aa9 100644 --- a/pkg/cmd/roachprod/vm/aws/support.go +++ b/pkg/cmd/roachprod/vm/aws/support.go @@ -99,9 +99,9 @@ root soft core unlimited root hard core unlimited EOF -mkdir -p /tmp/cores -chmod a+w /...
9136c163e6dd3706c8c9c6d1443fbe73d0b6b3cc
2017-04-02 02:13:18
Ben Darnell
storage: Check SpanSet access in ReplicaEvalContext
false
Check SpanSet access in ReplicaEvalContext
storage
diff --git a/pkg/storage/client_split_test.go b/pkg/storage/client_split_test.go index 64ae5ecf3871..6779d4bd6103 100644 --- a/pkg/storage/client_split_test.go +++ b/pkg/storage/client_split_test.go @@ -1115,23 +1115,24 @@ func TestSplitSnapshotRace_SnapshotWins(t *testing.T) { // non-atomically with respect to the re...
c8b78202cd72343c709dd322e4e8a411ce6f3e04
2016-08-11 04:54:29
Gyu-Ho Lee
raft: handle 'MsgTransferLeader' in follower
false
handle 'MsgTransferLeader' in follower
raft
diff --git a/raft.go b/raft.go index adef48e725ac..740c832b8f31 100644 --- a/raft.go +++ b/raft.go @@ -590,11 +590,6 @@ func (r *raft) Step(m pb.Message) error { } return nil } - if m.Type == pb.MsgTransferLeader { - if r.state != StateLeader { - r.logger.Debugf("%x [term %d state %v] ignoring MsgTransferLea...
01eabb433c5d3e36b8765dbebbb551096395ca67
2024-11-22 20:55:38
Tobias Grieger
tests: write allocs for sysbench microbenchmark with -test.benchmem
false
write allocs for sysbench microbenchmark with -test.benchmem
tests
diff --git a/pkg/sql/tests/BUILD.bazel b/pkg/sql/tests/BUILD.bazel index ab526109fd7f..c25c26fee56c 100644 --- a/pkg/sql/tests/BUILD.bazel +++ b/pkg/sql/tests/BUILD.bazel @@ -142,11 +142,13 @@ go_test( "@com_github_cockroachdb_datadriven//:datadriven", "@com_github_cockroachdb_errors//:errors", ...
15e544bc12d927340b6755b4c4cb0ba02fac9306
2017-11-11 02:11:09
Nikhil Benesch
ui: merge the Makefile into the top-level Makefile
false
merge the Makefile into the top-level Makefile
ui
diff --git a/Makefile b/Makefile index 2a8fd47677e3..b19d567ed1ff 100644 --- a/Makefile +++ b/Makefile @@ -191,6 +191,8 @@ XGO := $(strip $(if $(XGOOS),GOOS=$(XGOOS)) $(if $(XGOARCH),GOARCH=$(XGOARCH)) $ COCKROACH := ./cockroach$(SUFFIX)$(shell $(XGO) env GOEXE) +GOBINDATA_TARGET = $(UI_ROOT)/embedded.go + .DEFAU...
01ae9613087c5880bb7578e654014ab7a2445476
2016-03-04 02:04:58
Radu Berinde
sql: track uniqueness of results in ordering information
false
track uniqueness of results in ordering information
sql
diff --git a/sql/ordering.go b/sql/ordering.go index e48ab15696c6..745c7399c45b 100644 --- a/sql/ordering.go +++ b/sql/ordering.go @@ -56,6 +56,9 @@ type orderingInfo struct { // ordering of any other columns (the columns in exactMatchCols do not appear in this ordering). ordering columnOrdering + + // true if we...
21bace2f48b2fc0997b3b0ff954f07033e0e2638
2022-01-18 19:39:44
Radu Berinde
sql: clean up mutable not-null columns hack
false
clean up mutable not-null columns hack
sql
diff --git a/pkg/sql/catalog/descriptor.go b/pkg/sql/catalog/descriptor.go index 2473b192e7fc..2f7943667a47 100644 --- a/pkg/sql/catalog/descriptor.go +++ b/pkg/sql/catalog/descriptor.go @@ -447,9 +447,8 @@ type TableDescriptor interface { // details. AccessibleColumns() []Column // ReadableColumns is a list of c...
5718499f2bab3456662c2b275a8d7166e0906a3c
2017-09-09 00:08:50
Justin Jaffray
sql: correct behaviour of current_schemas(false)
false
correct behaviour of current_schemas(false)
sql
diff --git a/pkg/ccl/sqlccl/csv.go b/pkg/ccl/sqlccl/csv.go index 160fd986b44d..a0122d4829d1 100644 --- a/pkg/ccl/sqlccl/csv.go +++ b/pkg/ccl/sqlccl/csv.go @@ -250,7 +250,7 @@ func makeCSVTableDescriptor( ctx, nil, /* txn */ sql.NilVirtualTabler, - nil, /* SearchPath */ + parser.SearchPath{}, create, pa...
0835fc28bb111488f25482909c19ad251e644870
2022-08-09 06:02:38
Yahor Yuzefovich
colexec: clean up NOT LIKE operator generation
false
clean up NOT LIKE operator generation
colexec
diff --git a/pkg/sql/colexec/colexeccmp/like_ops.go b/pkg/sql/colexec/colexeccmp/like_ops.go index cd18ab42f6fc..db75dca09b36 100644 --- a/pkg/sql/colexec/colexeccmp/like_ops.go +++ b/pkg/sql/colexec/colexeccmp/like_ops.go @@ -25,56 +25,29 @@ const ( // LikeConstant is used when comparing against a constant string wi...
3ca4113d29216064510dbbb12b3a4001b95b0361
2017-12-29 01:44:57
Radu Berinde
opt: fix preferInclusive bug
false
fix preferInclusive bug
opt
diff --git a/pkg/sql/opt/index_constraints_spans.go b/pkg/sql/opt/index_constraints_spans.go index 82f17e237cf5..88b0d9039b11 100644 --- a/pkg/sql/opt/index_constraints_spans.go +++ b/pkg/sql/opt/index_constraints_spans.go @@ -303,8 +303,14 @@ func (c *indexConstraintCtx) nextDatum( d tree.Datum, direction encoding.D...
0eacf373e5ba6805379ab909338d5b194df8d00a
2020-02-21 04:39:55
Andrew Werner
server: adopt protected timestamp reconciliation
false
adopt protected timestamp reconciliation
server
diff --git a/pkg/server/server.go b/pkg/server/server.go index be78c3d6d86f..22c46c93c5c7 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -67,6 +67,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/storage/engine/enginepb" "github.com/cockroachdb/cockroach/pkg/storage/protectedts" "github.com/co...
15a5ba4ea52fca9e8e5075c574ccd8fe67361b06
2017-10-06 20:26:53
Jordan Lewis
sql: slim down nameResolutionVisitor
false
slim down nameResolutionVisitor
sql
diff --git a/pkg/sql/data_source.go b/pkg/sql/data_source.go index 079cd49de964..9de42ffcf0eb 100644 --- a/pkg/sql/data_source.go +++ b/pkg/sql/data_source.go @@ -124,6 +124,12 @@ type dataSourceInfo struct { // column but might be different if the statement renames // them using AS. sourceAliases sourceAliases +...
c12020ee8bf667167a30447250684c4d5eeb6042
2018-01-16 23:39:13
Raphael 'kena' Poss
sql: make the default value of subqueryExecMode invalid
false
make the default value of subqueryExecMode invalid
sql
diff --git a/pkg/sql/subquery.go b/pkg/sql/subquery.go index b32bcf6a0624..e9ab41b13653 100644 --- a/pkg/sql/subquery.go +++ b/pkg/sql/subquery.go @@ -44,9 +44,10 @@ type subquery struct { type subqueryExecMode int const ( + execModeUnknown subqueryExecMode = iota // Subquery is argument to EXISTS. Only 0 or 1 ro...
90e69e32c05179f4c8bd80f4dad794ac233bf202
2022-03-08 20:31:26
Andrii Vorobiov
ui: add locality field to Hot ranges page
false
add locality field to Hot ranges page
ui
diff --git a/pkg/ui/workspaces/db-console/src/redux/localities.spec.ts b/pkg/ui/workspaces/db-console/src/redux/localities.spec.ts index a3dffdc5454e..74445da70d81 100644 --- a/pkg/ui/workspaces/db-console/src/redux/localities.spec.ts +++ b/pkg/ui/workspaces/db-console/src/redux/localities.spec.ts @@ -10,14 +10,18 @@ ...
f0be19ff11b87ff86f0d1e5cb33c4d1e20d608ef
2016-05-17 04:51:24
Ben Darnell
kv: Set default SendNextTimeout to a reasonable value
false
Set default SendNextTimeout to a reasonable value
kv
diff --git a/kv/dist_sender.go b/kv/dist_sender.go index aa1a6ac27396..92dc2f50d166 100644 --- a/kv/dist_sender.go +++ b/kv/dist_sender.go @@ -41,7 +41,9 @@ import ( // Default constants for timeouts. const ( - defaultSendNextTimeout = 10 * time.Second // for now; see #2500 + // TODO(bdarnell): make SendNextTimeout...
9b51aeb671b547458994fdbb07805d306b787c02
2016-08-31 02:59:52
Jordan Lewis
storage: distinct batches for snapshot logs
false
distinct batches for snapshot logs
storage
diff --git a/storage/engine/rocksdb.go b/storage/engine/rocksdb.go index c70d81c22d42..9e6ce57914a5 100644 --- a/storage/engine/rocksdb.go +++ b/storage/engine/rocksdb.go @@ -917,6 +917,7 @@ func (r *rocksDBBatch) ApplyBatchRepr(repr []byte) error { if r.distinctOpen { panic("distinct batch open") } + r.flushMut...
60a2ee66f2b4127d2e693ef96cf78e566380577b
2019-09-19 20:02:38
Radu Berinde
opt: move autocommit logic to the execbuilder
false
move autocommit logic to the execbuilder
opt
diff --git a/pkg/sql/create_table.go b/pkg/sql/create_table.go index f3b79f4a0795..8d721a0587b0 100644 --- a/pkg/sql/create_table.go +++ b/pkg/sql/create_table.go @@ -365,11 +365,6 @@ func (n *createTableNode) startExec(params runParams) error { return nil } -// enableAutoCommit is part of the autoCommitNode inter...
741fa7e8012e5d0ec22e736546a03068cbe86e4f
2016-12-21 05:07:11
Raphael 'kena' Poss
sql: add a planNode -> String formatter for debugging.
false
add a planNode -> String formatter for debugging.
sql
diff --git a/pkg/sql/explain_plan.go b/pkg/sql/explain_plan.go index 8d9c3c1649ce..3865083ac3b2 100644 --- a/pkg/sql/explain_plan.go +++ b/pkg/sql/explain_plan.go @@ -17,6 +17,7 @@ package sql import ( "bytes" + "fmt" "math" "github.com/cockroachdb/cockroach/pkg/sql/parser" @@ -130,6 +131,22 @@ func (e *expl...
c6d599f0a083f234f3e7b162362b67eea4c35bf3
2023-08-06 00:18:45
Yahor Yuzefovich
sql: add plan gist matching to stmt diagnostics feature
false
add plan gist matching to stmt diagnostics feature
sql
diff --git a/docs/generated/http/full.md b/docs/generated/http/full.md index 6905863a0652..e1ff55fa69e7 100644 --- a/docs/generated/http/full.md +++ b/docs/generated/http/full.md @@ -4388,6 +4388,8 @@ Support status: [reserved](#support-status) | min_execution_latency | [google.protobuf.Duration](#cockroach.server.ser...
65deafdb3e05c8911061d37cc24f599f51b3003c
2023-07-10 17:59:04
Steven Danna
backupccl: fix txn retry bug during planning
false
fix txn retry bug during planning
backupccl
diff --git a/pkg/ccl/backupccl/backup_job.go b/pkg/ccl/backupccl/backup_job.go index a66569c1c769..0073f46a3d96 100644 --- a/pkg/ccl/backupccl/backup_job.go +++ b/pkg/ccl/backupccl/backup_job.go @@ -559,7 +559,7 @@ func (b *backupResumer) Resume(ctx context.Context, execCtx interface{}) error { initialDetails := det...
bd1cf6df1d46805e2834d96bcbf43b8de3192c32
2024-11-23 06:11:22
Annie Pompa
schemachanger: add support for discarding subzones
false
add support for discarding subzones
schemachanger
diff --git a/pkg/ccl/schemachangerccl/backup_base_generated_test.go b/pkg/ccl/schemachangerccl/backup_base_generated_test.go index dce4fa2c9803..d33b7a13ece8 100644 --- a/pkg/ccl/schemachangerccl/backup_base_generated_test.go +++ b/pkg/ccl/schemachangerccl/backup_base_generated_test.go @@ -99,6 +99,13 @@ func TestBacku...
ca26da7bd58b29683f5f8d20b2b8e7954f48718a
2016-03-07 12:16:36
Ben Darnell
acceptance: Replace docker-spy with docker's dns
false
Replace docker-spy with docker's dns
acceptance
diff --git a/acceptance/cluster/docker.go b/acceptance/cluster/docker.go index 308384784c20..2029cd0b2bb5 100644 --- a/acceptance/cluster/docker.go +++ b/acceptance/cluster/docker.go @@ -31,6 +31,7 @@ import ( "github.com/docker/engine-api/types" "github.com/docker/engine-api/types/container" + "github.com/docker...
64c59c0405f885b5ab5726a9839f2862dc12cf11
2021-10-02 03:25:47
mnovelodou
sql: adding empty stubs for missing tables on pg_catalog
false
adding empty stubs for missing tables on pg_catalog
sql
diff --git a/pkg/sql/catalog/catconstants/constants.go b/pkg/sql/catalog/catconstants/constants.go index 6cc2e9304032..cbbc2ab247e2 100644 --- a/pkg/sql/catalog/catconstants/constants.go +++ b/pkg/sql/catalog/catconstants/constants.go @@ -341,7 +341,11 @@ const ( PgCatalogStatioUserIndexesTableID PgCatalogStatioUse...
4b24149fb2c7d5aa31a0bc83ada363ca0597d85e
2024-02-14 20:46:41
Namrata Kodali
cli: --include-range-info flag for `cockroach debug zip` also toggles problem ranges
false
--include-range-info flag for `cockroach debug zip` also toggles problem ranges
cli
diff --git a/pkg/cli/cliflags/flags.go b/pkg/cli/cliflags/flags.go index 0f2e9e76abe7..f2a7f0357578 100644 --- a/pkg/cli/cliflags/flags.go +++ b/pkg/cli/cliflags/flags.go @@ -1643,15 +1643,16 @@ necessary to support CockroachDB. ZipIncludeRangeInfo = FlagInfo{ Name: "include-range-info", Description: ` -Include...
2f034597da2c793f2cb4f44236c08ed756fb66fe
2018-09-11 22:36:13
Andrew Couch
ui: improve headers for stmt details tables
false
improve headers for stmt details tables
ui
diff --git a/pkg/ui/src/views/statements/statementDetails.tsx b/pkg/ui/src/views/statements/statementDetails.tsx index 69c5b6587319..9e1562245c2f 100644 --- a/pkg/ui/src/views/statements/statementDetails.tsx +++ b/pkg/ui/src/views/statements/statementDetails.tsx @@ -67,6 +67,8 @@ interface NumericStatRow { } interf...
cea050edaf314ddf956f423aa9e50ded51f5b3d5
2021-01-13 00:49:55
Oliver Tan
sql: add implicit column for crdb_internal.index_columns
false
add implicit column for crdb_internal.index_columns
sql
diff --git a/pkg/ccl/logictestccl/testdata/logic_test/partitioning_implicit b/pkg/ccl/logictestccl/testdata/logic_test/partitioning_implicit index a0e41785d3fd..9d4a2c8a9b50 100644 --- a/pkg/ccl/logictestccl/testdata/logic_test/partitioning_implicit +++ b/pkg/ccl/logictestccl/testdata/logic_test/partitioning_implicit @...
d1b7f478b964e3af12c5a3d2e7f6173605ebdf35
2019-05-23 10:06:47
Nathan VanBenschoten
sql: don't copy ColumnFamilyDescriptor by value in loops
false
don't copy ColumnFamilyDescriptor by value in loops
sql
diff --git a/pkg/sql/opt_index_selection.go b/pkg/sql/opt_index_selection.go index e15fc1172967..419bb8be09c0 100644 --- a/pkg/sql/opt_index_selection.go +++ b/pkg/sql/opt_index_selection.go @@ -722,7 +722,8 @@ func neededColumnFamilyIDs( colIdxMap := tableDesc.ColumnIdxMap() var needed []sqlbase.FamilyID - for _...
b98fb4bae8a2fa195584f730a648ab5109624747
2017-07-24 19:37:54
Radu Berinde
tracing: don't combine CollectedSpans twice
false
don't combine CollectedSpans twice
tracing
diff --git a/pkg/roachpb/batch.go b/pkg/roachpb/batch.go index 35fd2b01e5c3..d0e06561e37b 100644 --- a/pkg/roachpb/batch.go +++ b/pkg/roachpb/batch.go @@ -251,7 +251,6 @@ func (br *BatchResponse) Combine(otherBatch *BatchResponse, positions []int) err } } br.Txn.Update(otherBatch.Txn) - br.CollectedSpans = appen...
c5f0ed90247d9baf3d97a355b891ace1ab951adb
2016-01-22 06:05:50
Kenji Kaneda
storage: Fix checkSequenceCache to propery set Error.Txn
false
Fix checkSequenceCache to propery set Error.Txn
storage
diff --git a/storage/replica.go b/storage/replica.go index 00ff8ed66722..47a423d5db89 100644 --- a/storage/replica.go +++ b/storage/replica.go @@ -1430,7 +1430,9 @@ func (r *Replica) checkSequenceCache(b engine.Engine, txn roachpb.Transaction) * // aborted and learns about that right now. abortErr := roachpb.NewT...
c546b610153849e47d154094adfd4cc90a86d33b
2023-07-26 03:20:52
Celia La
release: update predecessor map for 22.2.12 and 23.1.6
false
update predecessor map for 22.2.12 and 23.1.6
release
diff --git a/pkg/testutils/release/cockroach_releases.yaml b/pkg/testutils/release/cockroach_releases.yaml index 97808b69e0ce..37dabeb2d6c7 100644 --- a/pkg/testutils/release/cockroach_releases.yaml +++ b/pkg/testutils/release/cockroach_releases.yaml @@ -8,13 +8,13 @@ - 22.1.19 predecessor: "21.2" "22.2": - lat...
4eeb9e73fd2350646785c69e4adb76e4c64eee32
2020-08-16 05:07:36
Marcus Gartner
sql: reduce struct copying during index backfill
false
reduce struct copying during index backfill
sql
diff --git a/pkg/sql/backfill/backfill.go b/pkg/sql/backfill/backfill.go index bb249659e157..7cab086d2c16 100644 --- a/pkg/sql/backfill/backfill.go +++ b/pkg/sql/backfill/backfill.go @@ -349,7 +349,7 @@ func ConvertBackfillError( type IndexBackfiller struct { backfiller - added []descpb.IndexDescriptor + added []*...
73e1c58e5a6a3344e459ed50e4cf66370ddf1677
2018-10-16 01:13:57
Andrei Matei
roachtest: minor verification fix
false
minor verification fix
roachtest
diff --git a/pkg/cmd/roachtest/test.go b/pkg/cmd/roachtest/test.go index b795fdbc1611..d7ea226a389c 100644 --- a/pkg/cmd/roachtest/test.go +++ b/pkg/cmd/roachtest/test.go @@ -181,10 +181,14 @@ func (r *registry) loadBuildVersion() { } } +// verifyClusterName verifies that the test name can be turned into a cluster...
54b30fd5074977d7056ab35163a77e04b1d5c020
2020-07-15 06:35:35
Nathan VanBenschoten
util: fix comment on UnresolvedAddr
false
fix comment on UnresolvedAddr
util
diff --git a/pkg/util/unresolved_addr.pb.go b/pkg/util/unresolved_addr.pb.go index f1b2be5921c0..934ef91f5cc0 100644 --- a/pkg/util/unresolved_addr.pb.go +++ b/pkg/util/unresolved_addr.pb.go @@ -20,7 +20,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please u...
3e7249e5857cf22bf45bbc303180a02d4244b218
2021-12-11 00:02:56
David Taylor
backup: refactor resolution work
false
refactor resolution work
backup
diff --git a/pkg/ccl/backupccl/backup_destination.go b/pkg/ccl/backupccl/backup_destination.go index 6a6291e15a00..72a5f6e72cfa 100644 --- a/pkg/ccl/backupccl/backup_destination.go +++ b/pkg/ccl/backupccl/backup_destination.go @@ -13,7 +13,6 @@ import ( "io/ioutil" "net/url" "path" - "strings" "github.com/coc...
18ed3ff06ffc4f1bf8e6f27a0a70ded059fc59b7
2021-03-11 05:28:04
Andrei Matei
vendor: update lightstep tracer 0.15->0.24
false
update lightstep tracer 0.15->0.24
vendor
diff --git a/DEPS.bzl b/DEPS.bzl index 4cd9ed5e3de8..93e072323da5 100644 --- a/DEPS.bzl +++ b/DEPS.bzl @@ -1128,8 +1128,8 @@ def go_deps(): name = "com_github_go_ole_go_ole", build_file_proto_mode = "disable_global", importpath = "github.com/go-ole/go-ole", - sum = "h1:QNWhweRd9D5Py2rR...
6da351dd7d5e0b9289efaf4064146061ad1be529
2021-02-01 17:27:00
Andrii Vorobiov
ui: fix node status names on Nodes overview table
false
fix node status names on Nodes overview table
ui
diff --git a/pkg/ui/src/views/cluster/containers/nodesOverview/index.tsx b/pkg/ui/src/views/cluster/containers/nodesOverview/index.tsx index a0bf85ae379c..3d55887d2344 100644 --- a/pkg/ui/src/views/cluster/containers/nodesOverview/index.tsx +++ b/pkg/ui/src/views/cluster/containers/nodesOverview/index.tsx @@ -155,6 +15...
49df9c00d3189e912e146307e944e480ce5bc7c5
2017-04-25 00:01:43
Nikhil Benesch
testutils: make TempDir work with subtests
false
make TempDir work with subtests
testutils
diff --git a/pkg/testutils/dir.go b/pkg/testutils/dir.go index 4cbca1dc898d..0c3e88cc438f 100644 --- a/pkg/testutils/dir.go +++ b/pkg/testutils/dir.go @@ -20,12 +20,14 @@ import ( "io/ioutil" "os" "testing" + + "github.com/cockroachdb/cockroach/pkg/util/fileutil" ) // TempDir creates a directory and a functio...
ec55ce5142ea24ba6bc8ed3d09adef2813c2ec81
2019-05-15 18:37:19
Nathan VanBenschoten
kv: use require.Len in txn interceptor tests
false
use require.Len in txn interceptor tests
kv
diff --git a/pkg/kv/txn_interceptor_committer_test.go b/pkg/kv/txn_interceptor_committer_test.go index 4ca9a4390853..d1a715046879 100644 --- a/pkg/kv/txn_interceptor_committer_test.go +++ b/pkg/kv/txn_interceptor_committer_test.go @@ -52,7 +52,7 @@ func TestTxnCommitterAttachesTxnKey(t *testing.T) { ba.Add(&roachpb.E...
c8c85358743be9c1de1c8765352f7269f1d98ff1
2022-11-03 18:47:24
Andrew Baptist
admission: temporary knob to disable AC for user requests
false
temporary knob to disable AC for user requests
admission
diff --git a/pkg/kv/kvserver/store.go b/pkg/kv/kvserver/store.go index 08cc40730831..4345deae2013 100644 --- a/pkg/kv/kvserver/store.go +++ b/pkg/kv/kvserver/store.go @@ -3910,6 +3910,13 @@ func (n *KVAdmissionControllerImpl) AdmitKVWork( if source == roachpb.AdmissionHeader_OTHER { bypassAdmission = true } + //...
1472c10b2b7df4b85051d5d2855df5dcfcfd6733
2022-02-24 17:06:06
Andrew Werner
schemachanger: enable declarative schema changer by default
false
enable declarative schema changer by default
schemachanger
diff --git a/docs/generated/settings/settings-for-tenants.txt b/docs/generated/settings/settings-for-tenants.txt index 46d945857e1a..7e00332f1077 100644 --- a/docs/generated/settings/settings-for-tenants.txt +++ b/docs/generated/settings/settings-for-tenants.txt @@ -96,7 +96,6 @@ sql.defaults.experimental_auto_rehoming...
27785a42fb0c179f0bcba2fa5e64adba28d6b843
2021-07-01 02:52:48
Ricky Stewart
bazel: gazelle excludes `.vendor.tmp.*`
false
gazelle excludes `.vendor.tmp.*`
bazel
diff --git a/BUILD.bazel b/BUILD.bazel index e7c9641e5dd4..03b45a2a1408 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -75,6 +75,7 @@ load("@bazel_gazelle//:def.bzl", "gazelle") # gazelle:exclude c-deps/protobuf # gazelle:exclude artifacts # gazelle:exclude vendor +# gazelle:exclude .vendor.tmp.* # gazelle:exclude *...
329fb646fceeb7428e48455f3819b54d53e9dc6c
2016-07-04 04:17:53
Tamir Duberstein
storage: refactor to pass ReplicaDescriptor by value
false
refactor to pass ReplicaDescriptor by value
storage
diff --git a/roachpb/metadata.go b/roachpb/metadata.go index ae801051f8a0..5d15ec9d5daa 100644 --- a/roachpb/metadata.go +++ b/roachpb/metadata.go @@ -119,15 +119,15 @@ func (r RangeDescriptor) ContainsKeyRange(start, end RKey) bool { return r.RSpan().ContainsKeyRange(start, end) } -// FindReplica returns the repl...
eb48014d354a68f56c919a0b015d696171d0ec79
2022-12-23 01:57:04
Jordan Lewis
sql: fix legacy encoding path for composite types
false
fix legacy encoding path for composite types
sql
diff --git a/pkg/sql/logictest/testdata/logic_test/composite_types b/pkg/sql/logictest/testdata/logic_test/composite_types index 6c12858d29ee..a868b679044e 100644 --- a/pkg/sql/logictest/testdata/logic_test/composite_types +++ b/pkg/sql/logictest/testdata/logic_test/composite_types @@ -31,7 +31,7 @@ statement error cou...
95ae8303d477db54bd9feb6e737730e001bc15f2
2018-03-26 23:10:48
Andrew Kimball
opt: Rename some Optgen generated variables
false
Rename some Optgen generated variables
opt
diff --git a/pkg/sql/opt/optgen/cmd/optgen/rule_gen.go b/pkg/sql/opt/optgen/cmd/optgen/rule_gen.go index a575fb40f106..566eb22e4ff0 100644 --- a/pkg/sql/opt/optgen/cmd/optgen/rule_gen.go +++ b/pkg/sql/opt/optgen/cmd/optgen/rule_gen.go @@ -29,6 +29,8 @@ func (g *factoryGen) genRule(rule *lang.RuleExpr) { varName := fm...
e4c98a8719668cf94cd3fcbaa86140ec0e4bc643
2016-02-29 00:42:21
Tamir Duberstein
server: unskip TestSSLEnforcement
false
unskip TestSSLEnforcement
server
diff --git a/server/authentication_test.go b/server/authentication_test.go index ff476287958f..a677810d9099 100644 --- a/server/authentication_test.go +++ b/server/authentication_test.go @@ -63,7 +63,6 @@ func sqlForUser(context *base.Context) proto.Message { // Verify client certificate enforcement and user whitelist...
d81743d9b49c71ff377b1b0fd61aba32c0ebed9e
2024-12-19 17:09:24
Tobias Grieger
kvserver: avoid allocation due to `abandon` closure in hot path
false
avoid allocation due to `abandon` closure in hot path
kvserver
diff --git a/pkg/kv/kvserver/replica_proposal.go b/pkg/kv/kvserver/replica_proposal.go index 367a98077bba..ce6b2309b7ef 100644 --- a/pkg/kv/kvserver/replica_proposal.go +++ b/pkg/kv/kvserver/replica_proposal.go @@ -225,6 +225,8 @@ type ProposalData struct { lastReproposal *ProposalData } +func (*ProposalData) isAb...
e915b460affcba7ecfa6f5aa7b7ba044bee3a574
2021-05-02 00:54:01
Yahor Yuzefovich
roachtest: simplify tpchvec given we run roachtests from each branch
false
simplify tpchvec given we run roachtests from each branch
roachtest
diff --git a/pkg/cmd/roachtest/sqlsmith.go b/pkg/cmd/roachtest/sqlsmith.go index 1901926637bb..f6183cf91f74 100644 --- a/pkg/cmd/roachtest/sqlsmith.go +++ b/pkg/cmd/roachtest/sqlsmith.go @@ -122,29 +122,18 @@ func registerSQLSmith(r *testRegistry) { t.Fatal(err) } - versionString, err := fetchCockroachVersion...
28d171ef85b9cc4d4d4be452e99e0edba5d9bfdd
2020-05-05 22:06:54
Nathan VanBenschoten
sql: replace a few keys.TODOSQLCodec references with proper codecs
false
replace a few keys.TODOSQLCodec references with proper codecs
sql
diff --git a/pkg/sql/crdb_internal.go b/pkg/sql/crdb_internal.go index 8d8d48a18232..92646063b18a 100644 --- a/pkg/sql/crdb_internal.go +++ b/pkg/sql/crdb_internal.go @@ -2213,12 +2213,12 @@ CREATE TABLE crdb_internal.ranges_no_leases ( } var dbName, tableName, indexName string - if _, tableID, err := keys....
b0297b6b1a7f68bc5b4d69a6808ee43dcd7faf0e
2018-07-18 20:59:43
Tobias Schottdorf
rfc: follower reads
false
follower reads
rfc
diff --git a/docs/RFCS/20180603_follower_reads.md b/docs/RFCS/20180603_follower_reads.md new file mode 100644 index 000000000000..6ec979481476 --- /dev/null +++ b/docs/RFCS/20180603_follower_reads.md @@ -0,0 +1,629 @@ +- Feature Name: Follower Reads +- Status: accepted +- Start Date: 2018-06-03 +- Authors: Spencer Kimb...
799e0f436554df7ed74372cd77ac37c37492e425
2023-08-30 23:43:36
Renato Costa
roachtest: backup-restore/mixed-version always uses latest predecessor
false
backup-restore/mixed-version always uses latest predecessor
roachtest
diff --git a/pkg/cmd/roachtest/tests/mixed_version_backup.go b/pkg/cmd/roachtest/tests/mixed_version_backup.go index e3ea03a69dd0..3b5d762d20ed 100644 --- a/pkg/cmd/roachtest/tests/mixed_version_backup.go +++ b/pkg/cmd/roachtest/tests/mixed_version_backup.go @@ -2135,6 +2135,7 @@ func registerBackupMixedVersion(r regis...