Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1149 commits
Select commit Hold shift + click to select a range
6b91e4a
cdc: deregister delegate if memory quota exceeded (#15486)
overvenus Sep 5, 2023
9bf96f9
metrics: more logs and metrics for resolved-ts (#15416)
ekexium Sep 5, 2023
1abc220
coprocessor: add SQL statement tracing in tikv slow log (#15514)
lcwangchao Sep 6, 2023
fd89651
engine_rocks: trace all memtables including pinned (#15547)
overvenus Sep 7, 2023
23c89b3
*: let alloc API return result (#15529)
overvenus Sep 7, 2023
87d0f7c
raftstore-v2: supplement read track metrics (#15508)
SpadeA-Tang Sep 7, 2023
98eb383
raftstore-v2: fix chaos between on_memtable_sealed and on_flush_compl…
SpadeA-Tang Sep 11, 2023
6f0d84e
sst_importer: don't cache rewritten files (#15502)
YuJuncen Sep 12, 2023
d830a58
[Dynamic Region] Supply extra test cases for `gc`. (#15544)
LykxSassinator Sep 12, 2023
db0304e
*: update cargo.lock (#15573)
SpadeA-Tang Sep 12, 2023
d5d89ba
coprocessor: use the deadline in kvrpcpb::Context (#15564)
lance6716 Sep 13, 2023
b75f559
tidb_query_datatype,collation: remove utf8mb4_0900_bin from need_rest…
YangKeao Sep 13, 2023
063c9cd
raftstore-v2: persist applied index after ingset sst (#15538)
glorv Sep 13, 2023
b172835
add option to update config without persist (#15587)
tonyxuqqi Sep 14, 2023
905ecd7
tracker: add a warn log for deadline exceeded query (#15577)
glorv Sep 14, 2023
62c1799
unsafe recovery: Enable force leader to rollback merge (#15578)
v01dstar Sep 14, 2023
e43a157
resolved_ts: limit scanner memory usage (#15523)
overvenus Sep 14, 2023
32f5892
*: update rust-toolchain (#15584)
glorv Sep 15, 2023
0583368
stablize case test_store_disconnect_with_hibernate (#15596)
hicqu Sep 15, 2023
820ed93
tikv-ctl v2: get_all_regions_in_store excludes `tombstone` (#15522)
SpadeA-Tang Sep 16, 2023
0869653
raftstore-v2: report async snapshot metrics to prometheus (#15562)
SpadeA-Tang Sep 18, 2023
4a5fb73
test: make test test_destroy_missing more stable (#15616)
glorv Sep 18, 2023
2db4b89
raftstore-v2: fix rollback merge and commit merge can happen simultan…
SpadeA-Tang Sep 20, 2023
ec4a900
raftstore: upgrade tokio timer to fix insecure issues. (#15622)
LykxSassinator Sep 20, 2023
76df17e
log backup: fix the race of on events and do flush (#15618)
3pointer Sep 20, 2023
641f9b8
metrics: make disk usage clearer in the grafana (#15583)
bufferflies Sep 20, 2023
10f51d8
resolved_ts: remove hash set to save memory (#15554)
overvenus Sep 20, 2023
6971a46
upgrade flatbuffers from 2.1.2 to 23.5.26 to address security issue (…
tonyxuqqi Sep 20, 2023
533b205
raft-engine: update raft-engine to newest version (#15559)
glorv Sep 21, 2023
241b8f5
raftstore-v2: support online change lock write buffer limit (#15632)
SpadeA-Tang Sep 21, 2023
9b76ac9
log-bakcup: make initial scan asynchronous (#15541)
YuJuncen Sep 21, 2023
6ff85fc
tests: fix unstable test_query_stats test (#15657)
nolouch Sep 22, 2023
15d2c7d
raftstore-v2: fix incorrect GC peer requests to source peer after mer…
overvenus Sep 22, 2023
bbfedd4
upgrade lz4-sys to 1.9.4 to tackle security issue (#15652)
SpadeA-Tang Sep 22, 2023
384aaeb
copr: fix cannot get the request source for resource control (#15606)
nolouch Sep 25, 2023
e01c978
resolved-ts: speed up advancing when stores get partitioned (#15567)
hicqu Sep 25, 2023
b95f5cd
build: add missing failpoint feature for raft-engine (#15676)
glorv Sep 25, 2023
8fb721e
raftstore-v2: adjust lockcf default write buffer size and limit (#15678)
glorv Sep 25, 2023
312e0fb
*: Revert "*: update rust-toolchain (#15584)" (#15683)
glorv Sep 26, 2023
74f82f6
expr: fix wrong result of 0 / decimal and 0 % decimal (#15675)
SeaRise Sep 26, 2023
977888d
raftstore-v2: fix "failed to get merge entries" panic (#15649)
SpadeA-Tang Sep 26, 2023
9307f7c
raftstore-v2: fix MergedRecords not being cleaned up (#15650)
overvenus Sep 26, 2023
df263d2
raftstore-v2: check gc peer after commit merge (#15693)
overvenus Sep 27, 2023
73bc401
sst_importer: impl SuspendImport interface (#15612)
YuJuncen Sep 27, 2023
4814a61
compaction_guard: split SST when detected possible huge compaction (#…
YuJuncen Sep 28, 2023
56091d5
chore: bump version to 7.5.0-alpha (#15708)
Sep 28, 2023
a7db07d
raftstore-v2: gc removed_records and merged_records on tombstone stor…
overvenus Sep 28, 2023
fda1b5c
logger: added thread_id to logs (#15638)
jgrande Sep 28, 2023
58253e8
raftstore: split bucket if the increment flow reach the limit (#15637)
bufferflies Oct 8, 2023
64d2129
config: set a longer rocksdb io limiter smooth window for raft-v2 (#1…
glorv Oct 10, 2023
905e8bf
raftstore: disable region bucket for raftstore v1 by default (#15740)
SpadeA-Tang Oct 10, 2023
88aaaa3
status_server: Add symbol service to support remote fetching symboliz…
Connor1996 Oct 10, 2023
262845c
raftstore-v2: support to make protection when disk full. (#15558)
LykxSassinator Oct 11, 2023
e29d3a9
raftstore-v2: fix non-deterministic region merge (#15697)
overvenus Oct 11, 2023
08a2d65
coprocessor: do not treat deadline exceeded error as other error (#15…
glorv Oct 12, 2023
2d7616e
raftstore-v2: adjust max-background-flushes default value (#15723)
glorv Oct 12, 2023
272fcd0
raftstore-v2: avoid follower forwarding propose msg (#15704)
SpadeA-Tang Oct 12, 2023
b3ffab6
[Dynamic Regions] Supplement extra uts for test_storage.rs. (#15750)
LykxSassinator Oct 12, 2023
b4e0bf7
raftstore: Introduce failed state for unsafe recovery to fix rollback…
Connor1996 Oct 13, 2023
cb27f24
retry leader read when stale read encounters data not ready (#15726)
cfzjywxk Oct 16, 2023
9fb1ce6
snap_restore: Abort last recover region (#15685)
YuJuncen Oct 16, 2023
8c7d9e3
config: adjust rocksdb background compaction threads (#15769)
glorv Oct 16, 2023
d875640
import: write RPC will check region epoch before continue (#15013)
lance6716 Oct 16, 2023
6e82630
add more metrics for slow commit log diagnostics (#15716)
tonyxuqqi Oct 16, 2023
356ae24
s3: support backup with session token and assume role (#15722)
3pointer Oct 17, 2023
f5d2694
tikv_util: Support customizing evict policy and operations without pr…
MyonKeminta Oct 17, 2023
8f8da90
Revert "import: write RPC will check region epoch before continue" (#…
lance6716 Oct 18, 2023
7953ea5
raftstore-v2: Allow rollback merge during unsafe recovery for raftsto…
v01dstar Oct 18, 2023
3f53e59
storage/txn: Add txn_status_cache module (#15749)
MyonKeminta Oct 19, 2023
b48812f
*: remove unused dyn and grpc external storage (#15808)
overvenus Oct 20, 2023
6b0a515
server: make cpu and heap profiling can be running concurrently (#15761)
Connor1996 Oct 20, 2023
19e1d94
raftstore: fix an OOM issue by paginate scan unapplied config changes…
overvenus Oct 23, 2023
6075c3a
raftstore: calculate group id for every peer when it is syn-recover s…
TonsnakeLin Oct 23, 2023
22364f2
copr: fix cast_bytes_like_as_duration encoding failed (#15819)
wshwsh12 Oct 23, 2023
9a0504d
chore: bump version to 7.6.0-alpha (#15810)
Oct 23, 2023
e254b8a
metrics: Add extra necessary metrics for monitoring SlowTrend perform…
LykxSassinator Oct 23, 2023
f3bfe13
grafana: Fix wrong scheduler command variables of grafana in cloud en…
Connor1996 Oct 25, 2023
c6adb04
raftstore: Fix group commit is mistakenly enabled in sync recover sta…
Connor1996 Oct 26, 2023
12c2cf1
raftstore: improve the bucket split strategy (#15798)
bufferflies Oct 26, 2023
763069e
raftstore: make release work (#15850)
bufferflies Oct 26, 2023
69ef88b
import: write RPC will check region epoch before continue (#15795)
lance6716 Oct 27, 2023
f5361da
doc: Add CPU and heap profiling HTTP API doc (#15852)
Connor1996 Oct 27, 2023
913f783
metrics: fix TiKV Detail command regex escape issue (#15858)
overvenus Oct 27, 2023
36ff688
metrics: fix 2 incorrect grafana expression (#15860)
glorv Oct 27, 2023
0a34c6f
txn: Fix to the prewrite requests retry problem by using TxnStatusCac…
MyonKeminta Oct 30, 2023
4093bda
tidb_query_expr: fix the behavior of `field` function (#15879)
YangKeao Oct 31, 2023
2a24cfc
rafstore, engine_rocks: periodic full compaction (#12729) (#15853)
afeinberg Oct 31, 2023
b230093
cdc: limit cdc event fetching speed to reduce RocksDB read load (#15849)
hicqu Nov 1, 2023
78d835d
makefile: update cargo sort installation to remove dependency on rust…
Smityz Nov 1, 2023
4c369d2
cdc: incremental scans acquire snapshots before semaphores to avoid u…
hicqu Nov 2, 2023
f0ce447
fuzz: Bump afl version (#15848)
xiaoyawei Nov 2, 2023
9f46cdc
test: fix the flaky test for `test_gen_split_check_bucket_ranges ` (#…
bufferflies Nov 3, 2023
e0fe14d
titan: update titan to avoid manifest io mutex (#15914)
Connor1996 Nov 3, 2023
07141aa
server: make grpc metrics consistent (#15906)
bufferflies Nov 6, 2023
1a72645
sst_importer: join can fallback to version 1 filename (#15913)
lance6716 Nov 6, 2023
6a2c973
log-backup: use row-level memory usage statistic for initial scan (#1…
YuJuncen Nov 7, 2023
7fc3684
raftstore: enhance split check (#15900)
tonyxuqqi Nov 7, 2023
a932082
server: change the log level to debug for cop error response (#15882)
cfzjywxk Nov 8, 2023
f574ec0
raftstore: gc uninitialized stale peer after merge (#15934)
overvenus Nov 8, 2023
1819bb8
resource_control: add quota limiter per priority (#15918)
glorv Nov 9, 2023
7be1b17
*: make unified-pool use FuturePool (#15925)
nolouch Nov 9, 2023
58aed57
alert: tackle the false-postive case where alerting `gc not work`. (#…
LykxSassinator Nov 9, 2023
157e09d
server: Introduce heap profiling config (#15883)
Connor1996 Nov 10, 2023
5f2f5e7
cdc: notify pending tasks if associated regions change (#15947)
hicqu Nov 10, 2023
91b35fb
resource_control: support automatically tuning priority resource limi…
glorv Nov 10, 2023
eb28cf9
test: do not capture test output in make test_with_nextest (#15968)
glorv Nov 13, 2023
e29eae2
*: allow dynamic link openssl library (#15944)
overvenus Nov 13, 2023
a50e360
backup-stream: remove dead code (#15976)
overvenus Nov 13, 2023
03499ff
metric: add ttl expire metric (#15949)
Smityz Nov 14, 2023
d4eabb0
makefile: polish the validation of python path. (#15981)
LykxSassinator Nov 14, 2023
36e2154
raftstore: Inherit raftdb-path when upgrading to raft-engine (#15809)
Smityz Nov 14, 2023
8c3676c
chore: clean up fixme on latch.rs (#15974)
lyang24 Nov 15, 2023
c9052f9
fips: enable OpenSSL FIPS mode on TiKV start if it's eligible (#15983)
overvenus Nov 15, 2023
26f36d4
chore: fix error message typo (#15363)
0o001 Nov 15, 2023
6a61880
raftstore: fine-tune SlowScore. (#15991)
LykxSassinator Nov 16, 2023
a0dbe2d
resource_control: do not force set override priority at handle gRPC r…
glorv Nov 16, 2023
1cd4753
titan: Introduce titan zstd dict compression (#15979)
Connor1996 Nov 16, 2023
98e6f20
config: Fix titan blob-run-mode setting (#15988)
tonyxuqqi Nov 16, 2023
2631094
Copr: do not change expression type for `Lower` (#16010)
gengliqi Nov 17, 2023
eb7b143
titan: update titan to fix incorrect blob file size and change defaul…
Connor1996 Nov 20, 2023
9993a63
Dockerfile: update base image (#16033)
overvenus Nov 22, 2023
86d4a49
raftstore: check stale peer on leader missing (#16038)
overvenus Nov 22, 2023
dce0e55
raftstore: make full compaction incremental, pause when load is high …
afeinberg Nov 22, 2023
1b09763
update default value of region_compact_redundant_rows_percent (#16051)
tonyxuqqi Nov 23, 2023
5ada40f
raftstore: backport the detection of network-io from raftstore-v2. (#…
LykxSassinator Nov 23, 2023
b23787c
readpool: fix pending tasks counter (#16031)
glorv Nov 23, 2023
bc1ae30
pd_client: support dynamically modifying `min-resolved-ts` report int…
HuSharp Nov 24, 2023
04b857f
test: enable fail-point cases in test_kv_service for raftstore-v2 (#1…
glorv Nov 24, 2023
3f7c636
ctl: backoff load key range in finish flashback when meet `notLeader`…
HuSharp Nov 24, 2023
53e0548
server: grpc metrics consider request group priority (#15911)
bufferflies Nov 27, 2023
3b30d69
cdc: limit pending scan tasks (#16048)
overvenus Nov 27, 2023
9711e31
raftstore: update apply state even if peer is removed (#16060)
overvenus Nov 27, 2023
8854295
sst_importer: Use generic sst reader for importer (#16059)
Connor1996 Nov 27, 2023
d96284c
encryption: remove useless `EncryptionKeyManager` trait (#16086)
Connor1996 Nov 28, 2023
6bb3d2e
titan: update titan to fix compaction filter (#16092)
Connor1996 Nov 28, 2023
dd567e6
readpool: gate future-pool running tasks per priority (#16049)
glorv Nov 29, 2023
bc971dd
metrics: generate Grafana dashboards with python (#15857)
overvenus Nov 29, 2023
7b1ee11
tidb_query_expr: fix incorrect intdiv for decimal type (#16025)
wjhuang2016 Nov 29, 2023
1afb327
cloud: update cloud sdk that supports fips 140 for cloud sdk (#16098)
Leavrth Nov 29, 2023
bab43d0
metrics: add extra filters to filter out redundant data. (#16103)
LykxSassinator Nov 30, 2023
cd5c18c
chore: Use checkbox for check list in pull request template (#16104)
Connor1996 Nov 30, 2023
2de7cad
tikv-ctl: enhance the easy of use on EncyptionMeta cmd. (#16095)
LykxSassinator Nov 30, 2023
98d83f4
metrics/grafana: set shared crosshair tooltip (#16106)
overvenus Nov 30, 2023
fd98944
log-backup: make initialize failure fatal error, release memory while…
YuJuncen Nov 30, 2023
3544ed3
raftstore: fix a panic cause by peer destroy racing (#16112)
overvenus Dec 4, 2023
ca8c70d
raftstore: Verify checksum right after SST files are generated (#16107)
Connor1996 Dec 4, 2023
e14a803
raftstore: clean up destroyed_region_for_snap when a peer is destroye…
overvenus Dec 5, 2023
d76ab8f
cdc: return server_is_busy to cdc clients if necessary (#16127)
hicqu Dec 5, 2023
44301d2
raftstore: fine-tunes slow score (#16087)
LykxSassinator Dec 5, 2023
3c2fcd7
metrics: fix heatmap on grafana 9 (#16145)
overvenus Dec 6, 2023
c1f7c4a
Fix the QPS metrics in tikv_details.json. (#16149)
LykxSassinator Dec 6, 2023
54d7d42
resource_control: replace limited future's post delay with delay befo…
glorv Dec 6, 2023
8218b14
raftstore/util: fix errors in comments of get_min_resolved_ts (#16140)
AndreMouche Dec 6, 2023
2132992
server: Remove periodic heap profiling (#16151)
Connor1996 Dec 6, 2023
eefbdcb
*: uniform deadline exceeded error in cop response (#16155)
crazycs520 Dec 11, 2023
99916c0
coprocessor: rewrite `Upper` and `Lower` functions by porting the imp…
gengliqi Dec 11, 2023
462a597
In-memory Engine: defining hybrid engine (#16114)
SpadeA-Tang Dec 12, 2023
a07db9f
server: make gc support multi-threads (#16096)
tonyxuqqi Dec 12, 2023
95da026
*: use OpenSSL for crypto RNG (#16170)
overvenus Dec 12, 2023
51a5af2
server: Fix heap profile temp file is dropped before reading (#16171)
Connor1996 Dec 12, 2023
820b220
coprocessor: add query digest tracing in tikv slow query (#16172)
nolouch Dec 13, 2023
8e8c6ab
In-memory Engine: integrate hybrid engine with TiKV (#16132)
SpadeA-Tang Dec 13, 2023
ae8902d
cloud: update gcs sdk to support fips 140 (#16177)
Leavrth Dec 13, 2023
f9727af
In-memory Engine: implement read flow part 1 (#16163)
SpadeA-Tang Dec 14, 2023
4626f8d
In-memory Engine: integrate HybridEngine with integration test framew…
SpadeA-Tang Dec 18, 2023
37b1dce
*: add log and metric in raft_client (#16143)
crazycs520 Dec 19, 2023
1f384cf
*: do not suffix "fips" for tikv version ouput (#16201)
overvenus Dec 20, 2023
d7959b8
txn: change memory pessimsitic lock to btree map and support scan (#1…
cfzjywxk Dec 20, 2023
75cd21c
server: add metrics for status server API (#16198)
overvenus Dec 20, 2023
d9b70f7
In-memory Engine: implement read flow -- hybrid engine part (#16181)
SpadeA-Tang Dec 21, 2023
fe80806
metrics: change resource group label name (#16192)
glorv Dec 21, 2023
01498b0
metric: add read scan duration panel (#16205)
cfzjywxk Dec 21, 2023
a0e8a7a
Revert "*: make unified-pool use FuturePool (#15925)" (#16050)
nolouch Dec 21, 2023
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)
0xPoe 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)
0xPoe Feb 2, 2024
04370e9
raftstore: polish the availability check on conf change requests (#16…
tonyxuqqi Feb 2, 2024
6e79df9
debug wal log
tonyxuqqi Feb 16, 2024
2f0290e
update
tonyxuqqi Feb 16, 2024
145afb5
sync latest rocksdb
tonyxuqqi Feb 16, 2024
9e7ba6e
test
Mar 11, 2024
c30c9d6
sync
Mar 11, 2024
fec3704
fix compile issue for test
Mar 11, 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
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[profile.ci]
retries = 2 # Run at most 3 times
fail-fast = false
slow-timeout = { period = "60s", terminate-after = 2 } # Timeout 2m
failure-output = "final"

[profile.ci.junit]
path = "junit.xml"
3 changes: 0 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This file is almost the same as .gitignore expect the next line.
.git

# OSX leaves these everywhere on SMB shares
._*

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "\U0001F41B Bug Report"
about: Something isn't working as expected
label: type/bug
labels: type/bug
---

## Bug Report
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "\U0001F680 Feature Request"
about: As a user, I want to request a New Feature on the product.
label: type/feature-request
labels: type/feature-request
---

## Feature Request
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "\U0001F914 Question"
about: Usage question that isn't answered in docs or discussion
label: "T: Question"
labels: "type/question"
---

## Question
Expand Down
42 changes: 21 additions & 21 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,56 +12,56 @@ PR Title Format:

### What is changed and how it works?
<!--

Please create an issue first to describe the problem.

There MUST be one line starting with "Issue Number: " and
linking the relevant issues via the "close" or "ref".

For more info, check https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md#linking-issues.

-->
Issue Number: Close #xxx

What's Changed:
Issue Number: Close #xxx

<!--

You could use "commit message" code block to add more description to the final commit message.
For more info, check https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md#format-of-the-commit-message.

-->
What's Changed:

```commit-message

```

### Related changes

- PR to update `pingcap/docs`/`pingcap/docs-cn`:
- Need to cherry-pick to the release branch
- [ ] PR to update `pingcap/docs`/`pingcap/docs-cn`:
- [ ] Need to cherry-pick to the release branch

### Check List <!--REMOVE the items that are not applicable-->
### Check List

Tests <!-- At least one of them must be included. -->

- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code
- [ ] Unit test
- [ ] Integration test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No code

Side effects

- Performance regression
- Consumes more CPU
- Consumes more MEM
- Breaking backward compatibility
- [ ] Performance regression: Consumes more CPU
- [ ] Performance regression: Consumes more Memory
- [ ] Breaking backward compatibility

### Release note <!-- bugfixes or new feature need a release note -->

```release-note
Please add a release note.
### Release note
<!--
Compatibility change, improvement, bugfix, and new feature need a release note.

Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with None.
If this PR will be picked to release branch, then a release note is probably required.
-->

```release-note

```
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TiKV Change Log
All notable changes to this project are documented in this file.
See also [TiDB Changelog](https://github.com/pingcap/tidb/blob/master/CHANGELOG.md) and [PD Changelog](https://github.com/pingcap/pd/blob/master/CHANGELOG.md).
See also [TiDB Release Notes](https://github.com/pingcap/docs/blob/master/releases/release-notes.md) and [PD Changelog](https://github.com/pingcap/pd/blob/master/CHANGELOG.md).

## [5.3.0] - 2021-11-29

Expand Down Expand Up @@ -696,7 +696,7 @@ See also [TiDB Changelog](https://github.com/pingcap/tidb/blob/master/CHANGELOG.
+ Support batch-split command and empty batch command [#5470](https://github.com/tikv/tikv/pull/5470)
+ Fix `PointGetter` performance issue when there are concurrent write [#5495](https://github.com/tikv/tikv/pull/5495)
+ Fix the output on short version flag [#5501](https://github.com/tikv/tikv/pull/5501)
+ Support the pessmistic transaction API: txn-heart-beat [#5507](https://github.com/tikv/tikv/pull/5507)
+ Support the pessimistic transaction API: txn-heart-beat [#5507](https://github.com/tikv/tikv/pull/5507)
+ `titan` GC and monitoring improvement [#5517](https://github.com/tikv/tikv/pull/5517)
+ Update `grpcio` to v0.4.5 [#5523](https://github.com/tikv/tikv/pull/5523)
+ Support GRPC memory quota [#5524](https://github.com/tikv/tikv/pull/5524)
Expand Down
58 changes: 3 additions & 55 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,5 @@
## CNCF Community Code of Conduct v1.0
# Code of Conduct

This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
We follow the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).

Other languages available:
- [Chinese/中文](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/zh.md)
- [German/Deutsch](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/de.md)
- [Spanish/Español](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/es.md)
- [French/Français](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/fr.md)
- [Italian/Italiano](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/it.md)
- [Japanese/日本語](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/jp.md)
- [Korean/한국어](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/ko.md)
- [Ukrainian/Українська](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/uk.md)
- [Russian/Русский](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/ru.md)
- [Portuguese/Português](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/pt.md)

### Contributor Code of Conduct

As contributors and maintainers of this project, and in the interest of fostering
an open and welcoming community, we pledge to respect all people who contribute
through reporting issues, posting feature requests, updating documentation,
submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for
everyone, regardless of level of experience, gender, gender identity and expression,
sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
religion, or nationality.

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic addresses,
without explicit permission
* Other unethical or unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are not
aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers
commit themselves to fairly and consistently applying these principles to every aspect
of managing this project. Project maintainers who do not follow or enforce the Code of
Conduct may be permanently removed from the project team.

This code of conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior in Kubernetes may be reported by contacting the [Kubernetes Code of Conduct Committee](https://git.k8s.io/community/committee-code-of-conduct) via <conduct@kubernetes.io>. For other projects, please contact a CNCF project maintainer or our mediator, Mishi Choudhary <mishi@linux.com>.

This Code of Conduct is adapted from the Contributor Covenant
(http://contributor-covenant.org), version 1.2.0, available at
http://contributor-covenant.org/version/1/2/0/

### CNCF Events Code of Conduct

CNCF events are governed by the Linux Foundation [Code of Conduct](https://events.linuxfoundation.org/code-of-conduct/) available on the event page. This is designed to be compatible with the above policy and also includes more details on responding to incidents.
Please contact the [CNCF Code of Conduct Committee](mailto:conduct@cncf.io) in order to report violations of the Code of Conduct.
31 changes: 26 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ To build TiKV you'll need to at least have the following installed:
* `make` - Build tool (run common workflows)
* `cmake` - Build tool (required for gRPC)
* `awk` - Pattern scanning/processing language
* [`protoc`](https://github.com/protocolbuffers/protobuf/releases) - Google protocol buffer compiler
* C++ compiler - gcc 5+ (required for gRPC)

If you are targeting platforms other than x86_64/aarch64 Linux or macOS, you'll also need:
Expand Down Expand Up @@ -77,6 +78,12 @@ make test
env EXTRA_CARGO_ARGS=$TESTNAME make test
```

Alternatively, you can use [nextest](https://github.com/nextest-rs/nextest) to run tests:

```bash
env EXTRA_CARGO_ARGS=$TESTNAME make test_with_nextest
```

TiKV follows the Rust community coding style. We use Rustfmt and [Clippy](https://github.com/Manishearth/rust-clippy) to automatically format and lint our code. Using these tools is checked in our CI. These are as part of `make dev`, you can also run them alone:

```bash
Expand All @@ -86,13 +93,27 @@ make format
make clippy
```

See the [style doc](https://github.com/rust-lang/rfcs/blob/master/style-guide/README.md) and the [API guidelines](https://rust-lang-nursery.github.io/api-guidelines/) for details on the conventions.
See the [style doc](https://github.com/rust-lang/fmt-rfcs/blob/master/guide/guide.md) and the [API guidelines](https://rust-lang-nursery.github.io/api-guidelines/) for details on the conventions.

Please follow this style to make TiKV easy to review, maintain, and develop.

### Run test in docker

Alternatively, you can run test in a docker environment. Simply running the following command, it will build the pingcap/tikv_dev image and run the tikv unittests. And you may re-use the pingcap/tikv_dev image directly for ad-hoc test.

```bash
make docker_test
```

Note that you may find many messages below, which in fact are not errors. They're emitted by rustc or cargo.

```bash
<jemalloc>: Invalid conf pair: prof:true
```

### Build issues

To reduce compilation time, TiKV builds do not include full debugging information by default &mdash; `release` and `bench` builds include no debuginfo; `dev` and `test` builds include full debug. To decrease compilation time with another ~5% (around 10 seconds for a 4 min build time), change the `debug = true` to `debug = 1` in the Cargo.toml file to only include line numbers for `dev` and `test`. Another way to change debuginfo is to precede build commands with `RUSTFLAGS=-Cdebuginfo=1` (for line numbers), or `RUSTFLAGS=-Cdebuginfo=2` (for full debuginfo). For example,
To reduce compilation time and disk usage, TiKV builds do not include full debugging information by default &mdash; only tests package will have line debug info enabled. To change debuginfo, just precede build commands with `RUSTFLAGS=-Cdebuginfo=1` (for line numbers), or `RUSTFLAGS=-Cdebuginfo=2` (for full debuginfo). For example,

```bash
RUSTFLAGS=-Cdebuginfo=1 make dev
Expand All @@ -109,13 +130,13 @@ To run TiKV as an actual key-value store, you will need to run it as a cluster (

Use [PD](https://github.com/tikv/pd) to manage the cluster (even if just one node on a single machine).

Instructions are in our [docs](https://tikv.org/docs/dev/tasks/deploy/binary/) (if you build TiKV from source, you could skip `1. Download package` and `tikv-server` is in directory `/target`).
Instructions are in our [docs](https://tikv.org/docs/latest/deploy/install/test/#install-binary-manually) (if you build TiKV from source, you could skip `1. Download package` and `tikv-server` is in directory `/target`).

Tips: It's recommended to increase the open file limit above 82920. WSL2 users may refer to [the comment](https://github.com/Microsoft/WSL/issues/1688#issuecomment-532767317) if having difficulty in changing the `ulimit`.

### Configuration

Read our configuration guide to learn about various [configuration options](https://tikv.org/docs/dev/tasks/configure/introduction/). There is also a [configuration template](./etc/config-template.toml).
Read our configuration guide to learn about various [configuration options](https://tikv.org/docs/latest/deploy/configure/introduction/). There is also a [configuration template](./etc/config-template.toml).

## Contribution flow

Expand All @@ -127,7 +148,7 @@ This is a rough outline of what a contributor's workflow looks like:
- Write code, add test cases, and commit your work (see below for message format).
- Run tests and make sure all tests pass.
- Push your changes to a branch in your fork of the repository and submit a pull request.
* Make sure mention the issue, which is created at step 1, in the commit meesage.
* Make sure to mention the issue, which is created at step 1, in the commit message.
- Your PR will be reviewed and may be requested some changes.
* Once you've made changes, your PR must be re-reviewed and approved.
* If the PR becomes out of date, you can use GitHub's 'update branch' button.
Expand Down
Loading