Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to release 8.1(002ebde1e) #386

Merged
merged 212 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
3d8f625
tikv_util: add handled task counter for LazyWorker (#16196)
overvenus Dec 21, 2023
669dc79
expression: `cast_duration_as_time` should not consider time zone (#1…
gengliqi Dec 22, 2023
0ec4d33
tidb_query_datatype: fix timezone conversion by upgrading chrono-tz (…
overvenus Dec 22, 2023
5e0d7b1
*: fix issue of modify resolved-ts.advance-ts-interval from 5s to 2s …
crazycs520 Dec 22, 2023
fc04a50
In-memory Engine: implement read flow -- support sequence number (#16…
SpadeA-Tang Dec 25, 2023
9313afa
In-memory Engine: implement read flow -- prefix read (#16237)
SpadeA-Tang Dec 26, 2023
6a08b98
readpool: add priority label for running tasks metrics (#16249)
nolouch Dec 28, 2023
6510959
metrics: polish the metrics on Raft IO and Raft Propose sections. (#1…
LykxSassinator Dec 28, 2023
4702b9b
added async-backtrace for log backup (#15727)
YuJuncen Dec 29, 2023
1a73761
raftstore/*: Print region information when overlap is detected. (#16241)
AndreMouche Jan 2, 2024
369f7be
server: fix panic of gRPC threads due to thread group properties not …
pingyu Jan 3, 2024
8ba0dac
executor: omit truncating error when handling decimal multiplication …
solotzg Jan 3, 2024
defc933
raftstore: fix load base split cannot works in pure follower/stale re…
nolouch Jan 3, 2024
0378b24
metrics: fix typo errors in the Raft IO panel. (#16266)
LykxSassinator Jan 3, 2024
7901e0c
cdc: add more metrics about output events queue time (#16281)
hicqu Jan 4, 2024
3988614
config: Enable titan for newly created instance (#16285)
Connor1996 Jan 4, 2024
2605436
*: Upgrade rust toolchain to nightly-2023-12-10 (#16213)
overvenus Jan 5, 2024
3194c4a
Titan: refine Titan dir empty check (#16296)
v01dstar Jan 5, 2024
df108bf
log-backup: fix a typo (#16257)
YuJuncen Jan 5, 2024
2472fd4
txn: introduce pessimistic rollback read phase (#16185)
cfzjywxk Jan 5, 2024
e0d7072
raftstore: fix Display for ReadableOffsetTime (#16300)
afeinberg Jan 5, 2024
7b1e009
engine_rocks: log SST corruption reason (#16253)
overvenus Jan 8, 2024
110d9f9
raftstore: real batch ingest sst files in different region (#16298)
3pointer Jan 8, 2024
5f5431a
raft_log_engine: update to latest version. (#16294)
LykxSassinator Jan 9, 2024
65308d6
engine: calculate table properties correctly for Titan (#16320)
hicqu Jan 9, 2024
4a77d18
titan: Fix small blob file can't be gced in fallback mode (#16338)
Connor1996 Jan 9, 2024
c041ee3
tikv-ctl: Don't send compact commands to TiFlash stores (#16190)
frew Jan 10, 2024
d447120
txn: try to fix the possible deadlock caused by scan lock (#16342)
cfzjywxk Jan 10, 2024
7f708a1
*: ban unwanted crypto crates (#16352)
overvenus Jan 10, 2024
956c9f3
snapshot_backup: enhanced prepare stage (#15946)
YuJuncen Jan 10, 2024
c75656d
encryption: support kms encryption for gcp (#16335)
glorv Jan 11, 2024
8130cb3
chore: bump version to v8.0.0-alpha (#16333)
Jan 11, 2024
d5cb209
test: fix unstable test test_limit_concurrency (#16361)
glorv Jan 12, 2024
115bff4
*: deny vulnerable crates (#16360)
overvenus Jan 12, 2024
00749cc
In-memory engine: API changes for write-path. (#16322)
afeinberg Jan 12, 2024
dafd147
In-memory Engine: conditional compilation (#16357)
afeinberg Jan 13, 2024
2a553aa
Revert "raftstore: fix load base split cannot works in pure follower …
nolouch Jan 15, 2024
67c7fa1
cop: fix the scan panic when checksum is enabled (#16373)
cfzjywxk Jan 15, 2024
6bf8b5e
*: deny yanked, unsound and unknown git source crates (#16372)
overvenus Jan 15, 2024
31cdbb6
cdc: incremental scans use correct specified ranges (#16252)
hicqu Jan 15, 2024
1b926f2
test: fix lint (#16384)
cfzjywxk Jan 16, 2024
bbcc9e2
*: deny strong copyleft and unlicensed crates (#16389)
overvenus Jan 16, 2024
a94f47a
*: update rust-toolchain (#16397)
glorv Jan 17, 2024
246c73b
metrics: rearrange resolved ts panels (#16400)
overvenus Jan 17, 2024
7b50d05
logger: fix thread_id in log (#16399)
overvenus Jan 17, 2024
a882d2f
coprocessor: make the error format the same as tidb (#16404)
windtalker Jan 18, 2024
8bfd4a9
Cargo.toml: fix h2 vulnerability (#16406)
afeinberg Jan 18, 2024
d0ffb52
storage: Use write cf stats to decide load action for default cf inst…
Connor1996 Jan 18, 2024
2293b82
In-Memory Engine: WriteBatch implementation. (#16381)
afeinberg Jan 18, 2024
e2a2e87
scripts: update RustSec advisory db before checking cargo deny (#16409)
overvenus Jan 18, 2024
fc93c89
In-memory Engine: refactor from region based to range based (#16383)
SpadeA-Tang Jan 18, 2024
1fbdf65
logger: fix missing log fields (#16411)
overvenus Jan 19, 2024
6ef0d50
config: Change titan min blob size default value to 32KB (#16402)
Connor1996 Jan 19, 2024
cf0560a
raftstore: check last heartbeat time before doing conf change remove …
tonyxuqqi Jan 19, 2024
6630125
log_backup: stop task while memory out of quota (#16008)
YuJuncen Jan 21, 2024
866eda6
raftstore: address the corner case on WakeUp hibernate regions. (#16408)
LykxSassinator Jan 23, 2024
fe15ec2
grafana: Refine the order of grafana dashboard to localize related pa…
Connor1996 Jan 24, 2024
2ec92ec
txn: Reserve lock data prefix `T` for future use (#16439)
pingyu Jan 24, 2024
8780c04
storage: refactor command marco and task (#16440)
overvenus Jan 25, 2024
5cf15aa
snap_backup: abort last connection of preparing while there are many …
YuJuncen Jan 25, 2024
1f870ee
In-memory Engine: implement garbage collection -- backend part (#16238)
SpadeA-Tang Jan 25, 2024
43d0e06
Cargo: fix cargo vendor by upgrading encoding_rs (#16446)
overvenus Jan 25, 2024
550ecc3
statistics: use std from trait (#16464)
Rustin170506 Jan 30, 2024
b67dd09
raftstore: improve the remove peer check (#16467)
tonyxuqqi Jan 31, 2024
87d9a97
In-Memory Engine: WriteBatch with Skiplist Engine (#16433)
afeinberg Jan 31, 2024
a73405d
server: add grpc exec duration and wait duration (#16447)
bufferflies Jan 31, 2024
5d190fa
raftstore: Improve readability (#16476)
v01dstar Feb 1, 2024
997eabc
raftstore: report busy to PD when restarting if exists apply log lags…
LykxSassinator Feb 2, 2024
00a2518
*: Add module health_controller and move SlowScore, SlowTrend, Health…
MyonKeminta Feb 2, 2024
8b7f647
statistics: move analyze context out (#16481)
Rustin170506 Feb 2, 2024
04370e9
raftstore: polish the availability check on conf change requests (#16…
tonyxuqqi Feb 2, 2024
4a14cec
raftstore: fix store_heartbeat incorrectly reporting store.is_busy ==…
LykxSassinator Feb 5, 2024
20f1e0c
In-memory Engine: make integration test work (#16474)
SpadeA-Tang Feb 5, 2024
2a75a7e
storage: reject new commands if memory quota exceeded (#16473)
overvenus Feb 5, 2024
7a18bac
*: tidy the dependencies on test crates. (#16506)
LykxSassinator Feb 6, 2024
e4e273f
Engine: add basic proptest for titan (#16490)
tonyxuqqi Feb 6, 2024
a796cbe
raftstore: use force in compact_range triggered by no valid split key…
SpadeA-Tang Feb 8, 2024
55c572a
disk_snapshot_backup: pause raft log GC while backing up (#16519)
YuJuncen Feb 9, 2024
47fc3aa
copr, json: handle u64 json correctly (#16513)
YangKeao Feb 18, 2024
3ca29f8
In-memory Engine: implement garbage collection -- worker part (#16461)
SpadeA-Tang Feb 19, 2024
820feab
raftstore: polish codes when clearing `busy_on_apply` flag. (#16527)
LykxSassinator Feb 19, 2024
13ade79
raftstore: add a timeout for sending snapshot (#16466)
glorv Feb 19, 2024
1757406
copr: Fix panic when there is illegal push down (#16532)
breezewish Feb 19, 2024
3f648f1
txn: Pipelined DML: introduce Flush and BufferBatchGet (#16364)
ekexium Feb 19, 2024
c7e403d
storage: add memory quota metrics (#16482)
overvenus Feb 19, 2024
67cfcf0
add disk protection in import service (#16487)
tonyxuqqi Feb 20, 2024
ec64762
service/kv: Support sending health feedback via BatchCommandResponse …
MyonKeminta Feb 20, 2024
8cdf87b
raftstore: make manual compaction in cleanup worker be able to be ign…
SpadeA-Tang Feb 21, 2024
66847e9
*: remove unnecessary async blocks to save memory (#16541)
overvenus Feb 21, 2024
9b60505
In-Memory Engine: region stats manager. (#16508)
afeinberg Feb 23, 2024
de0215e
log_backup: fix stale task when version changes (#16484)
YuJuncen Feb 26, 2024
3c302cb
pd_client: replace global config with meta storage interface (#15603)
HuSharp Feb 26, 2024
867c3cb
In-memory Engine: implement range load (#16500)
SpadeA-Tang Feb 27, 2024
1afa0c1
Reject illegal initial_scan_rate_limit value(less than 1024) (#16485)
RidRisR Feb 27, 2024
9f5ca8c
*: update pprof to 0.13.*. (#16553)
LykxSassinator Feb 27, 2024
4be2085
grafana: tidy the metrics related to `slowness`. (#16563)
LykxSassinator Feb 27, 2024
544f710
*: fix make dist_release compile fail (#16566)
SpadeA-Tang Feb 27, 2024
30099fc
grafana: Add region worker CPU and snap generator CPU metrics (#16565)
Connor1996 Feb 28, 2024
9fa462a
rocksdb: Expose track-and-verify-wals-in-manifest config (#16546)
v01dstar Feb 28, 2024
e4ad65f
import: move ingest and its checks to the ingest mod (#16586)
overvenus Feb 29, 2024
f7503e3
txn: generation in pipelined DML (#16544)
ekexium Mar 1, 2024
8a5afc9
server: add cluster id check for unary request (#16587)
cfzjywxk Mar 4, 2024
d0118eb
tests: deduplicate sst_importer and resolved_ts test code (#16594)
overvenus Mar 4, 2024
c0f543b
Cargo: update mio dependency. (#16598)
afeinberg Mar 4, 2024
a0f8373
*: remove cloud aws gcp azure features (#16602)
overvenus Mar 5, 2024
bb7fc21
server: check cluster id in batch requests (#16599)
cfzjywxk Mar 6, 2024
9b4791d
raftstore: enable async-io by default. (#16615)
LykxSassinator Mar 7, 2024
4965ac3
add dict compression and sync in titan proptest (#16570)
tonyxuqqi Mar 8, 2024
6116ad8
txn: skip assertion checks for pipelined-dml (#16613)
ekexium Mar 8, 2024
8c9f31c
txn: check should_not_exist flag for Flush (#16612)
ekexium Mar 8, 2024
107e3d3
Raftstore: destroy peer after applying snapshot (or aborted) if neces…
tonyxuqqi Mar 8, 2024
f642ea7
executor: fix incorrect handling expr eval results in projection exec…
yibin87 Mar 11, 2024
6c3c1ce
sst_importer: replace mem_limit with MemoryQuota (#16618)
overvenus Mar 11, 2024
a1e6a6a
Cgroup monitoring and alerting (#16393)
pingandb Mar 11, 2024
5a12e2b
copr: don't resize binary opaque when the type flen is unspecified (#…
YangKeao Mar 12, 2024
1561001
txn: Fix the issue that CheckTxnStatus didn't make rollback on optimi…
MyonKeminta Mar 12, 2024
faabaa7
log_backup: store pending region info when giving up retry (#16624)
YuJuncen Mar 12, 2024
8ab7350
raftstore: Add slow log for peer and store msg (#16605)
Connor1996 Mar 12, 2024
8e0802e
txn: reduce allocation for scan lock (#16635)
cfzjywxk Mar 13, 2024
f2ba94a
sst_importer: a metrics to show the number of inflight sst service ta…
Leavrth Mar 13, 2024
b9e0dec
backup: handle the error when peer not found (#16581)
Leavrth Mar 13, 2024
19affe0
raftstore: Fix store msg discriminant out of bound (#16641)
Connor1996 Mar 13, 2024
4c121d7
tidb_query_datatype, tidb_query_expr: Add div_precision_increment sup…
yibin87 Mar 13, 2024
6b17e72
pd_client: remove global config interface (#15610)
HuSharp Mar 14, 2024
e19ba27
backup: fix flaky testcases. (#16636)
LykxSassinator Mar 14, 2024
8faa192
log_backup: try fix flaky tempfiles test (#16647)
YuJuncen Mar 14, 2024
9ee8a11
test: fix flaky cases. (#16649)
LykxSassinator Mar 14, 2024
b983fd3
cdc: fix incremental scan for partial subscriptions (revert #16252) (…
hicqu Mar 14, 2024
3da0bba
set the unified read pool size when bootstrapped (#16633)
YuJuncen Mar 15, 2024
948c3f5
txn: let buffer_batch_get behave like memdb.get rather than tikv.batc…
ekexium Mar 15, 2024
d928767
In-Memory: sync RegionLabelRules from PD (#16630)
afeinberg Mar 16, 2024
7ce593e
grafana: Add key size and value size histogram (#16659)
Connor1996 Mar 18, 2024
6368c43
In-memory Engine: use a more crossbeam-like skiplist (#16652)
SpadeA-Tang Mar 18, 2024
653ec84
titan: Share blob cache with block cache (#16460)
Connor1996 Mar 18, 2024
9f548b2
Titan: Make several options online configurable (#16517)
v01dstar Mar 18, 2024
07c3534
In-memory Engine: optimize write batch to selectively cache writes (#…
SpadeA-Tang Mar 18, 2024
d4fc49c
txn: Fix missing perf context tag for Flush and BufferBatchGet (#16663)
ekexium Mar 18, 2024
eec295d
In-memory Engine: remove allow dead_code and unused_variables (#16674)
SpadeA-Tang Mar 19, 2024
20a3d03
test: enhance unstable test test_pool_available_deadline (#16677)
glorv Mar 19, 2024
397d8d4
In-memory Engine: make range delete be handled in background (#16675)
SpadeA-Tang Mar 21, 2024
6517f61
fix: use a fixed version of cargo deny (#16686)
purelind Mar 23, 2024
101b8bc
raftstore: optimize AutoSplitController memory usage (#16678)
overvenus Mar 23, 2024
1c7b344
raftstore: Avoid snapshot IO in raftstore thread (#16682)
Connor1996 Mar 25, 2024
3acb9dd
In-memory engine: fix panic when write batch callback twice (#16691)
SpadeA-Tang Mar 26, 2024
02072ba
In-Memory: implement hybrid snapshot iter (#16685)
afeinberg Mar 26, 2024
b51b22f
expr: add json_array_append support (#16690)
dbsid Mar 27, 2024
a5ea709
In-memory Engine: decouple load with split and fix a bug (#16679)
SpadeA-Tang Mar 28, 2024
e90fb60
In-memory-engine: add metrics for acquire snapshot and gc (#16696)
SpadeA-Tang Mar 28, 2024
0e3c1bb
rocksdb: Fix partial synced inactive WAL (#16706)
Connor1996 Mar 28, 2024
a237148
Add a metrics for cdc to observe the region count that use too long t…
hongyunyan Mar 29, 2024
ed751b2
limit proptest test count (#16719)
tonyxuqqi Mar 29, 2024
d747aec
[Bugfix] raftstore: fix the bug when the channel is full in AutoSplit…
LykxSassinator Mar 29, 2024
465f55a
raftstore: supply extra ut for testing non-blocking channel. (#16729)
LykxSassinator Apr 1, 2024
8af8e5b
chore: bump nightly version to 8.1.0-alpha (#16731)
purelind Apr 1, 2024
1f58243
In-memory engine: make integration tests reusable for hybrid engine (…
SpadeA-Tang Apr 2, 2024
5294727
server: stop manual compaction jobs in engines before shutdown (#16700)
LykxSassinator Apr 2, 2024
6ec0b70
*: fix issue of stale peer block resolve-ts cause by ignore gc messag…
crazycs520 Apr 2, 2024
81d62b2
log_backup: make a more rusty `CallbackWaitGroup` (#16740)
YuJuncen Apr 3, 2024
2f73366
engine_test: fix cannot find types error in cargo test (#16760)
overvenus Apr 3, 2024
694e4ab
Cargo.toml: Fix h2 cargo deny issue. (#16769)
afeinberg Apr 4, 2024
73930b4
In-memory Engine: introduce memory controller (#16671)
SpadeA-Tang Apr 7, 2024
5af7e4c
upgrade h2 to resolve vulnerability issue (#16767)
zhangjinpeng87 Apr 7, 2024
7b0e224
raftstore: Avoid consuming resource when there is only one resource g…
Connor1996 Apr 8, 2024
0edef6d
In-Memory Engine: Load from ranges from region labels (#16753)
afeinberg Apr 8, 2024
06a3b05
chore: update codecov.yml (#16773)
wuhuizuo Apr 9, 2024
141df91
In-memory engine: fix problems of sub range scheduling load task of t…
SpadeA-Tang Apr 9, 2024
d5f681a
raftstore: allow apply committed logs before persist (#16626)
glorv Apr 9, 2024
5e793c2
build: bump tikv pkg version (#16787)
ti-chi-bot Apr 9, 2024
b7103fa
raftstore: make apply before persist compatible with online unsafe re…
ti-chi-bot Apr 11, 2024
4099d0f
add grafana panel for applying unpersisted log (#16821) (#16842)
ti-chi-bot Apr 16, 2024
99a7a2e
log-backup: Fix flush invalid ts (#16832) (#16862)
ti-chi-bot Apr 18, 2024
d512fed
test: use a temp dir to store the test cluster configuration (#16874)…
ti-chi-bot Apr 18, 2024
937b7bb
txn: Pipelined DML: sort and remove duplicated keys when buffer batch…
ti-chi-bot Apr 23, 2024
af2cc3e
txn: use start_ts + 1 as Flush's min_commit_ts (#16881) (#16902)
ti-chi-bot Apr 23, 2024
6651cdb
txn: use u64::MAX as txn_size for Flush commands (#16811) (#16900)
ti-chi-bot Apr 24, 2024
b27fa0e
expr: fix the wrong decimal's result frac in some cases (#16914) (#16…
ti-chi-bot Apr 25, 2024
2b79ea4
txn: add more log before row lock check (#16830)
cfzjywxk Apr 26, 2024
56613f7
sst_importer: remove the SST file where no kvs written into (#16146) …
ti-chi-bot Apr 30, 2024
5aed804
raftstore: bugfix of the calculation on the log gap between leader an…
ti-chi-bot May 9, 2024
befa08e
raft-engine: reduce the threshold of compression and add related metr…
ti-chi-bot May 9, 2024
91efa0a
expression: fix a `cast_string_to_decimal` truncate bug (#16963) (#16…
ti-chi-bot May 9, 2024
6ebf7ef
expression: fix overflow panic in `conv` (#16970) (#16983)
ti-chi-bot May 10, 2024
ca6e66e
expression: fix casting REAL type to STRING type (#16975) (#17003)
ti-chi-bot May 13, 2024
278551a
tikv_alloc: Add per thread memory usage (#16255) (#17005)
ti-chi-bot May 13, 2024
2501c9a
expression: revert tikv#17003 (release-8.1) (#17014)
solotzg May 14, 2024
0e49bf9
resolved_ts: use smaller timeout when do check_leader (#16000) (#1694…
ti-chi-bot May 15, 2024
53048f9
jemalloc: Enable background thread to reduce tail latency (#16780) (#…
ti-chi-bot May 15, 2024
ba73b0d
log_backup: fix panic when encountered error during resuming (#17021)…
ti-chi-bot May 20, 2024
ca9f542
build: bump tikv pkg version (#17063)
ti-chi-bot May 24, 2024
40614f6
resolved_ts: refactor log for the unexpected path (#17064) (#17068)
ti-chi-bot May 29, 2024
5e9d9cc
chore: add prow OWNERS files for critial configuration files (#17071)…
ti-chi-bot Jun 8, 2024
b789cc7
OWNERS: Auto Sync OWNERS files from community membership (#16973) (#1…
ti-chi-bot Jun 11, 2024
b6d3b09
Update OWNERS_ALIASES (#17193) (#17204)
ti-chi-bot Jun 26, 2024
675e6dd
raftstore: do not free cached entries if not all of them are persiste…
ti-chi-bot Jun 27, 2024
01abe19
tests,storage: Fix flaky test_rawkv::test_leader_transfer (#16827) (#…
ti-chi-bot Jul 17, 2024
c4f20ba
tests: Fix flaky test_raw_put_key_guard (#16826) (#16839)
ti-chi-bot Jul 18, 2024
f6d713b
*: ignore unsound `openssl::bio::MemBio::get_buf` (#17292) (#17293)
ti-chi-bot Jul 23, 2024
d3f3d4d
tikv-ctl: add region state to `raft region` command output (#17038) (…
ti-chi-bot Jul 26, 2024
3ffa98d
grpc: set compression args for TiKV service (#17180) (#17313)
ti-chi-bot Jul 26, 2024
4d372c0
cdc: skip incremental scaned events after region fails (#17248) (#17255)
ti-chi-bot Jul 30, 2024
be70ba9
Fix the problem that CDC and log-backup didn't use advance-ts-interva…
ti-chi-bot Aug 1, 2024
02d29fa
raftstore: gc abnormal snapshots and destroy peer if failed to apply …
ti-chi-bot Aug 2, 2024
18fc036
log-backup: support encrypt backing up files (#15084) (#17322)
ti-chi-bot Aug 2, 2024
fc7b242
backup: continue to seek regions if one range has no located leader r…
ti-chi-bot Aug 2, 2024
31b5c9f
log_backup: Adapt for log backup encrypting (#16993) (#17323)
ti-chi-bot Aug 2, 2024
5204612
raftstore: fix online config change panic for periodic-full-compact-s…
ti-chi-bot Aug 2, 2024
e76e8c6
Fix gRPC request source duration inaccurate issue (#17132) (#17340)
ti-chi-bot Aug 2, 2024
50ff359
Dockerfile: fix docker build (#17077) (#17342)
ti-chi-bot Aug 5, 2024
3e85fc8
cdc: handles region registers correctly after connection deregistered…
ti-chi-bot Aug 5, 2024
002ebde
br: pre-check TiKV disk space before download (#17238) (#17341)
ti-chi-bot Aug 5, 2024
673253d
Merge remote-tracking branch 'tikv/release-8.1' into update-release-8.1
CalvinNeo Aug 5, 2024
cf047d5
fix clippy
CalvinNeo Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,160 changes: 748 additions & 412 deletions Cargo.lock

Large diffs are not rendered by default.

115 changes: 84 additions & 31 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tikv"
version = "7.6.0-alpha"
version = "8.1.1"
authors = ["The TiKV Authors"]
description = "A distributed transactional key-value database powered by Rust and Raft"
license = "Apache-2.0"
Expand All @@ -12,7 +12,7 @@ edition = "2021"
publish = false

[features]
default = ["test-engine-kv-rocksdb", "test-engine-raft-raft-engine", "cloud-aws", "cloud-gcp", "cloud-azure"]
default = ["test-engine-kv-rocksdb", "test-engine-raft-raft-engine"]
trace-tablet-lifetime = ["engine_rocks/trace-lifetime"]
tcmalloc = ["tikv_alloc/tcmalloc"]
jemalloc = ["tikv_alloc/jemalloc", "engine_rocks/jemalloc"]
Expand All @@ -21,11 +21,22 @@ snmalloc = ["tikv_alloc/snmalloc"]
portable = ["engine_rocks/portable"]
sse = ["engine_rocks/sse"]
mem-profiling = ["tikv_alloc/mem-profiling"]
failpoints = ["fail/failpoints", "raftstore/failpoints", "tikv_util/failpoints", "engine_rocks/failpoints", "raft_log_engine/failpoints"]
cloud-aws = ["encryption_export/cloud-aws"]
cloud-gcp = ["encryption_export/cloud-gcp"]
cloud-azure = ["encryption_export/cloud-azure"]
testexport = ["raftstore/testexport", "api_version/testexport", "causal_ts/testexport", "engine_traits/testexport", "engine_rocks/testexport", "engine_panic/testexport", "hybrid_engine/testexport"]
failpoints = [
"fail/failpoints",
"raftstore/failpoints",
"tikv_util/failpoints",
"engine_rocks/failpoints",
"raft_log_engine/failpoints",
]
testexport = [
"raftstore/testexport",
"api_version/testexport",
"causal_ts/testexport",
"engine_traits/testexport",
"engine_rocks/testexport",
"engine_panic/testexport",
"hybrid_engine/testexport",
]
test-engine-kv-rocksdb = ["engine_test/test-engine-kv-rocksdb"]
test-engine-raft-raft-engine = ["engine_test/test-engine-raft-raft-engine"]
test-engines-rocksdb = ["engine_test/test-engines-rocksdb"]
Expand Down Expand Up @@ -60,7 +71,7 @@ batch-system = { workspace = true }
byteorder = "1.2"
case_macros = { workspace = true }
causal_ts = { workspace = true }
chrono = "0.4"
chrono = { workspace = true }
codec = { workspace = true }
collections = { workspace = true }
concurrency_manager = { workspace = true }
Expand All @@ -73,21 +84,23 @@ dashmap = "5"
encryption_export = { workspace = true }
engine_panic = { workspace = true }
engine_rocks = { workspace = true }
engine_test = { workspace = true }
engine_traits = { workspace = true }
engine_traits_tests = { workspace = true }
error_code = { workspace = true }
fail = "0.5"
file_system = { workspace = true }
flate2 = { version = "1.0", default-features = false, features = ["zlib"] }
futures = { version = "0.3", features = ["thread-pool", "compat"] }
futures-executor = "0.3.1"
futures-timer = "3.0"
futures-util = { version = "0.3.1", default-features = false, features = ["io", "async-await"] }
futures-util = { version = "0.3.1", default-features = false, features = [
"io",
"async-await",
] }
fxhash = "0.2.1"
getset = "0.1"
grpcio = { workspace = true }
grpcio-health = { workspace = true }
health_controller = { workspace = true }
hex = "0.4"
http = "0"
hybrid_engine = { workspace = true }
Expand All @@ -101,7 +114,10 @@ kvproto = { workspace = true }
lazy_static = "1.3"
libc = "0.2"
libloading = "0.7"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
log = { version = "0.4", features = [
"max_level_trace",
"release_max_level_debug",
] }
log_wrappers = { workspace = true }
match-template = "0.0.1"
memory_trace_macros = { workspace = true }
Expand All @@ -119,7 +135,10 @@ paste = "1.0"
pd_client = { workspace = true }
pin-project = "1.0"
pnet_datalink = "0.23"
pprof = { version = "0.11", default-features = false, features = ["flamegraph", "protobuf-codec"] }
pprof = { version = "0.13", default-features = false, features = [
"flamegraph",
"protobuf-codec",
] }
prometheus = { version = "0.13", features = ["nightly"] }
prometheus-static-metric = "0.5"
protobuf = { version = "2.8", features = ["bytes"] }
Expand Down Expand Up @@ -158,12 +177,13 @@ tidb_query_expr = { workspace = true }
tikv_alloc = { workspace = true }
tikv_kv = { workspace = true }
tikv_util = { workspace = true }
time = "0.1"
time = { workspace = true }
tipb = { workspace = true }
tokio = { version = "1.17", features = ["full"] }
tokio-openssl = "0.6"
tokio-timer = { workspace = true }
toml = "0.5"
tracing-active-tree = { workspace = true }
tracker = { workspace = true }
txn_types = { workspace = true }
url = "2"
Expand All @@ -173,7 +193,9 @@ yatp = { workspace = true }

[dev-dependencies]
api_version = { workspace = true, features = ["testexport"] }
example_coprocessor_plugin = { workspace = true } # should be a binary dependency
engine_test = { workspace = true }
engine_traits_tests = { workspace = true }
example_coprocessor_plugin = { workspace = true } # should be a binary dependency
hyper-openssl = "0.9"
panic_hook = { workspace = true }
raftstore = { workspace = true, features = ["testexport"] }
Expand Down Expand Up @@ -201,21 +223,17 @@ rusoto_kms = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-
rusoto_mock = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
rusoto_s3 = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
rusoto_sts = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }

# NOTICE: use openssl for signature to support fips 140
tame-oauth = { git = "https://github.com/tikv/tame-oauth", branch = "fips" }
tame-oauth = { git = "https://github.com/tikv/tame-oauth", branch = "fips-0.9" }

snappy-sys = { git = "https://github.com/busyjay/rust-snappy.git", branch = "static-link" }
snappy-sys = { git = "https://github.com/tikv/rust-snappy.git", branch = "static-link" }

# remove this when https://github.com/danburkert/fs2-rs/pull/42 is merged.
fs2 = { git = "https://github.com/tabokie/fs2-rs", branch = "tikv" }
fs2 = { git = "https://github.com/tikv/fs2-rs", branch = "tikv" }

# Remove this when a new version is release. We need to solve rust-lang/cmake-rs#143.
cmake = { git = "https://github.com/rust-lang/cmake-rs" }

# remove this when https://github.com/rust-lang/backtrace-rs/pull/503 is merged.
backtrace = { git = 'https://github.com/hehechen/backtrace-rs', branch = "v0.3.61" }

sysinfo = { git = "https://github.com/tikv/sysinfo", branch = "0.26-fix-cpu" }

[target.'cfg(target_os = "linux")'.dependencies]
Expand Down Expand Up @@ -251,12 +269,13 @@ members = [
"components/encryption",
"components/encryption/export",
"components/engine_rocks_helper",
# Only enable tirocks in local development, otherwise it can slow down compilation.
# TODO: always enable tirocks and remove engine_rocks.
# "components/engine_tirocks",
# Only enable tirocks in local development, otherwise it can slow down compilation.
# TODO: always enable tirocks and remove engine_rocks.
# "components/engine_tirocks",
"components/error_code",
"components/external_storage",
"components/file_system",
"components/health_controller",
"components/into_other",
"components/keys",
"components/log_wrappers",
Expand Down Expand Up @@ -325,6 +344,15 @@ batch-system = { path = "components/batch-system" }
case_macros = { path = "components/case_macros" }
causal_ts = { path = "components/causal_ts" }
cdc = { path = "components/cdc", default-features = false }
# Do not enable default-features because it implicitly enables oldtime which is
# vulnerable to RUSTSEC-2020-0071, see more in deny.toml.
chrono = { version = "0.4", default-features = false }
# Do not enable default-features because it implicitly enables the unsound
# "atty" crate, see more about RUSTSEC-2021-0145 in deny.toml.
clap = { version = "2.32", default-features = false, features = [
"suggestions",
"vec_map",
] }
cloud = { path = "components/cloud" }
codec = { path = "components/codec" }
collections = { path = "components/collections" }
Expand All @@ -345,6 +373,7 @@ external_storage = { path = "components/external_storage" }
file_system = { path = "components/file_system" }
crypto = { path = "components/crypto" }
gcp = { path = "components/cloud/gcp" }
health_controller = { path = "components/health_controller" }
into_other = { path = "components/into_other" }
keys = { path = "components/keys" }
log_wrappers = { path = "components/log_wrappers" }
Expand All @@ -364,7 +393,7 @@ server = { path = "components/server" }
service = { path = "components/service" }
snap_recovery = { path = "components/snap_recovery", default-features = false }
sst_importer = { path = "components/sst_importer", default-features = false }
test_backup = { path = "components/test_backup" }
test_backup = { path = "components/test_backup", default-features = false }
test_coprocessor = { path = "components/test_coprocessor", default-features = false }
example_coprocessor_plugin = { path = "components/test_coprocessor_plugin/example_plugin" }
test_pd = { path = "components/test_pd" }
Expand All @@ -386,19 +415,43 @@ tikv_alloc = { path = "components/tikv_alloc" }
tikv_kv = { path = "components/tikv_kv", default-features = false }
tikv_util = { path = "components/tikv_util" }
tipb_helper = { path = "components/tipb_helper" }
time = { version = "0.1" }
tracker = { path = "components/tracker" }
txn_types = { path = "components/txn_types" }
# External libs
raft = { version = "0.7.0", default-features = false, features = ["protobuf-codec"] }
grpcio = { version = "0.10.4", default-features = false, features = ["openssl", "protobuf-codec", "nightly"] }
grpcio-health = { version = "0.10.4", default-features = false, features = ["protobuf-codec"] }
raft = { version = "0.7.0", default-features = false, features = [
"protobuf-codec",
] }
raft-engine = { git = "https://github.com/tikv/raft-engine.git", features = [
"swap",
] }
raft-engine-ctl = { git = "https://github.com/tikv/raft-engine.git" }
grpcio = { version = "0.10.4", default-features = false, features = [
"openssl",
"protobuf-codec",
"nightly",
] }
grpcio-health = { version = "0.10.4", default-features = false, features = [
"protobuf-codec",
] }
tipb = { git = "https://github.com/pingcap/tipb.git" }
kvproto = { git = "https://github.com/pingcap/kvproto.git" }
yatp = { git = "https://github.com/tikv/yatp.git", branch = "master" }
tokio-timer = { git = "https://github.com/tikv/tokio", branch = "tokio-timer-hotfix" }
tokio-executor = { git = "https://github.com/tikv/tokio", branch = "tokio-timer-hotfix" }
slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debug"] }
slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" }
slog = { version = "2.3", features = [
"max_level_trace",
"release_max_level_debug",
] }
slog-global = { version = "0.1", git = "https://github.com/tikv/slog-global.git", rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" }
tracing-active-tree = { git = "https://github.com/tikv/tracing-active-tree.git", features = [
"coarsetime",
], rev = "a71f8f8148f88ab759deb6d3e1d62d07ab218347" }
# This `tracing` is only used for `tracing-active-tree`, enable its attributes only.
tracing = { version = "0.1.39", default-features = false, features = [
"attributes",
"std",
] }
openssl = "0.10"
openssl-sys = "0.9"

Expand Down
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,10 @@ ENV PATH /usr/local/bin/:$PATH
# Install Rustup
RUN curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --default-toolchain none -y
ENV PATH /root/.cargo/bin/:$PATH
RUN rustup self update

# Install the Rust toolchain
WORKDIR /tikv
COPY rust-toolchain ./
RUN rustup self update \
&& rustup set profile minimal \
&& rustup default $(cat "rust-toolchain")
COPY rust-toolchain.toml ./

# For cargo
COPY scripts ./scripts
Expand Down
7 changes: 2 additions & 5 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,10 @@ ENV PATH /usr/local/bin/:$PATH
# Install Rustup
RUN curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --default-toolchain none -y
ENV PATH /root/.cargo/bin/:$PATH
RUN rustup self update

# Install the Rust toolchain
WORKDIR /tikv
COPY rust-toolchain ./
RUN rustup self update \
&& rustup set profile minimal \
&& rustup default $(cat "rust-toolchain")
COPY rust-toolchain.toml ./

RUN cargo install cargo-nextest --locked

Expand Down
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ else
# Caller is responsible for setting up test engine features
endif

ifneq ($(NO_CLOUD),1)
ENABLE_FEATURES += cloud-aws
ENABLE_FEATURES += cloud-gcp
ENABLE_FEATURES += cloud-azure
endif

export DOCKER_FILE ?= Dockerfile
export DOCKER_IMAGE_NAME ?= pingcap/tikv
export DOCKER_IMAGE_TAG ?= latest
Expand Down
76 changes: 76 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# See the OWNERS docs at https://go.k8s.io/owners
approvers:
- 5kbpers
- AndreMouche
- andylokandy
- breezewish
- brson
- bufferflies
- BusyJay
- cfzjywxk
- Connor1996
- coocood
- disksing
- ekexium
- gengliqi
- glorv
- hicqu
- hunterlxt
- imtbkcat
- innerr
- iosmanthus
- jackysp
- kennytm
- Little-Wallace
- liuzix
- lonng
- LykxSassinator
- lysu
- marsishandsome
- MyonKeminta
- niedhui
- NingLin-P
- nrc
- overvenus
- pingyu
- skyzh
- SpadeA-Tang
- sticnarf
- sunxiaoguang
- tabokie
- TennyZhuang
- tonyxuqqi
- yiwu-arbug
- you06
- youjiali1995
- YuJuncen
- zhangjinpeng87
- zhongzc
- zhouqiang-cl
reviewers:
- 3pointer
- CalvinNeo
- ethercflow
- fredchenbj
- Fullstop000
- gozssky
- haojinming
- hi-rustin
- HuSharp
- jayzhan211
- Jibbow
- JmPotato
- Leavrth
- lhy1024
- longfangsong
- lzmhhh123
- Mossaka
- MrCroxx
- nolouch
- rleungx
- tier-cap
- v01dstar
- wjhuang2016
- wshwsh12
- Xuanwo
- zyguan
14 changes: 14 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Sort the member alphabetically.
aliases:
sig-critical-approvers-config-components:
- easonn7
- kevin-xianliu
- zhangjinpeng87
sig-critical-approvers-config-src:
- easonn7
- kevin-xianliu
- cfzjywxk
- zhangjinpeng87
sig-critical-approvers-config-cdc:
- BenMeadowcroft
- kevin-xianliu
Loading
Loading