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

status api: Get engine type api #11

Open
wants to merge 680 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
680 commits
Select commit Hold shift + click to select a range
7be952a
log-backup: applied some change to make better RPO (#13940)
YuJuncen Dec 27, 2022
c3903b8
server: improve the ergonomics of sharing things between tablets (#13…
tabokie Dec 27, 2022
77c2199
raftstore-v2: gc tablets (#13974)
tabokie Dec 27, 2022
0404a7c
raftstore-v2: purge raft engine (#13993)
tabokie Dec 27, 2022
25261c8
raftstore-v2: cleanup stale tablet on restart (#13994)
BusyJay Dec 27, 2022
09f9aac
modify raft gc log impl for witness (#13869)
ethercflow Dec 28, 2022
177efaf
raftstore-v2: a few panic fix (#13996)
tonyxuqqi Dec 28, 2022
06bfaa4
raftstore-v2: avoid ticking when there are many unapplied logs (#13995)
BusyJay Dec 30, 2022
64293cb
add commit/apply duration for raft store (#13946)
bufferflies Dec 30, 2022
a6afe78
extend evict_entry_cache for restart (#13998)
hongyunyan Jan 3, 2023
5de5fd2
raft-engine: remove confusing API cut logs (#14010)
BusyJay Jan 3, 2023
bce01cf
raftstore-v2: publish tablet in raftstore thread only (#14009)
BusyJay Jan 3, 2023
8aef20c
*: introduce slog_panic and SlogFormat (#14014)
BusyJay Jan 3, 2023
4619f32
Introduce priority queue for priority scheduling (#14002)
Connor1996 Jan 4, 2023
cdc2e48
raftstore-v2: only send clean snapshot (#14015)
BusyJay Jan 5, 2023
df3ee59
raftstore-v2: update region size after split check (#14019)
BusyJay Jan 5, 2023
cc9e69b
raftstore-v2: store heartbeat add kv size and snap size (#14016)
bufferflies Jan 6, 2023
c71fdfc
log-backup: limit inflight raft msg from pitr (#13976)
tabokie Jan 6, 2023
71efe9e
raftstore-v2: adaptive apply (#14020)
BusyJay Jan 6, 2023
8e6e348
raftstore-v2: add waterfall metrics (#14029)
BusyJay Jan 10, 2023
528e06d
util: Fix incorrect memory capacity (#14034)
breezewish Jan 12, 2023
e1467c5
pd_client: fix the kvproto compatibility for global config (#14041)
HuSharp Jan 12, 2023
2daa168
*: add resource group for the read path (#14001)
glorv Jan 13, 2023
321aa83
txn: Do constraint check when handling repeated acqurie_pessimsitic_l…
MyonKeminta Jan 13, 2023
65a99a8
raftstore-v2: fix metrics and perf context (#14035)
BusyJay Jan 13, 2023
a3c15ce
raftstore-v2: cleanup txn_ext (#14051)
BusyJay Jan 16, 2023
6d163b8
raftstore-v2: a few small fixes (#14039)
tonyxuqqi Jan 17, 2023
a463db0
apply: fix witness raft log gc panic and refactor (#14054)
ethercflow Jan 17, 2023
5235542
copr: support handling keyspace request (#14027)
iosmanthus Jan 17, 2023
e2e9f9c
storage: add priority scheduling for scheduler worker (#14057)
Connor1996 Jan 17, 2023
7240e57
fix docker build (#13937)
tabokie Jan 18, 2023
b35d4fb
pd_client: fix the kvproto compatibility (#14064)
HuSharp Jan 18, 2023
15445fd
raftstore-v2: add more features to pd worker v2 (#14003)
tabokie Jan 19, 2023
860fc83
log-backup: an ad-hoc way for hot reloading TLS certs (#14072)
YuJuncen Jan 19, 2023
42c3814
json, copr: implement unary not for json (#14070)
YangKeao Jan 19, 2023
cf62253
raftstore: support switch witness (#13491)
ethercflow Jan 19, 2023
f178f78
resource_manager: add watch for resource group (#14022)
HuSharp Jan 20, 2023
9726e56
batch-system: add priority scheduling for batch system (#14065)
Connor1996 Jan 20, 2023
c353910
config: allow starting TiKV nodes with <1 CPU (#14084)
andreid-db Jan 29, 2023
68710b9
pd_client: replace PD_REQUEST_HISTOGRAM_VEC with static metrics (#14087)
HuSharp Jan 29, 2023
b1936e6
copr: (refactor) Lift heap struct out from top_n_executor (#14096)
LittleFall Jan 30, 2023
0ce3485
raftstore: allow the read request with a smaller ts during flashback …
JmPotato Jan 30, 2023
7ec73fd
import: sst_importer support download SST and rewrite into keyspace d…
iosmanthus Jan 31, 2023
ec2f4dc
rocksdb: reduce rocksdb block size to 16KB (#14053)
tonyxuqqi Jan 31, 2023
15d6040
storage: add an alias partitioned-raft-kv for RaftKv2 (#14083)
tonyxuqqi Jan 31, 2023
23a2288
resolved_ts: reduce network traffic by filter regions (#14098)
overvenus Jan 31, 2023
a33eb2d
raftstore-v2: fix peer not cleanup when it replicates more logs (#14101)
BusyJay Jan 31, 2023
9c0df6d
cop: handle unset scan details in store batch (#14102)
you06 Feb 1, 2023
db14c53
resource_control: unify wru/rru to ru (#14121)
nolouch Feb 2, 2023
d1d2920
pd_client: fix item value type (#14106)
HuSharp Feb 2, 2023
3791560
raftstore-v2: add tablet logger and update dep (#14129)
BusyJay Feb 3, 2023
c8c1ca8
raftstore: Observe when receive raft message (#14043)
CalvinNeo Feb 3, 2023
656c983
log-backup: added check leader call before flushing (#14108)
YuJuncen Feb 3, 2023
6daed4f
raftstore-v2: support tracing peer lifetime (#14056)
BusyJay Feb 3, 2023
44a586f
raftstore: support priority scheduling for async write (#14103)
Connor1996 Feb 3, 2023
495abac
cloud: azblob: add retry for http code 500 error (#14094)
Leavrth Feb 3, 2023
856987f
tests: fix test_witness_replica_read fail (#14110)
ethercflow Feb 3, 2023
22202b2
tikv: optimize default config for multi-rocksdb (#14107)
tonyxuqqi Feb 4, 2023
8484ece
log-backup: support CA-bundle certifications (#14081)
3pointer Feb 4, 2023
14dd46d
rawkv: fix flaky integration test case `test_raw_put_key_guard` (#14140)
pingyu Feb 6, 2023
41a89be
Integration test: use proc-macro to reuse test cases. (#14133)
SpadeA-Tang Feb 6, 2023
7c20add
raftstore, storage: return FlashbackNotPrepared error if the flashbac…
JmPotato Feb 6, 2023
2e7aede
raftstore: support dynamically resize the count of async ios. (#13965)
LykxSassinator Feb 7, 2023
26813ba
raftstore-v2: fix tablet gc issues (#14125)
tabokie Feb 7, 2023
d083fc9
copr: reject request when estimated waiting duration exceeds threshol…
sticnarf Feb 7, 2023
10e93a7
raftstore-v2: fix peer destroy not clear in scale-in scene (#14112)
bufferflies Feb 7, 2023
a45c7de
apply: ignore compute and verify hash when it's a witness (#14150)
ethercflow Feb 7, 2023
adff03c
fix: ebs volume snapshot support tikv node equipped with 2 cpu or les…
fengou1 Feb 7, 2023
db50ce6
Increase read pool limit (#13766)
v01dstar Feb 7, 2023
1df793c
copr: fix error when cast const Enum to any type (#14149)
wshwsh12 Feb 7, 2023
98ac5d2
Support backup replica read (#13975)
v01dstar Feb 8, 2023
1d97f4d
log-backup: report when watch canceled (#14154)
YuJuncen Feb 8, 2023
5a8d477
engine_traits: allow chaos flush notification (#14160)
BusyJay Feb 8, 2023
8d63c27
raftstore-v2: gc all split tablets (#14169)
BusyJay Feb 8, 2023
eb2e416
log-backup: retry for more time when failed to get snapshot(to adapt …
joccau Feb 8, 2023
dda37a4
server: disable `PersistStats` RocksDB task for v2 (#14111)
tabokie Feb 8, 2023
f46f386
log-backup: update the endpoints when etcd cluster config changes (#1…
YuJuncen Feb 8, 2023
f6513ed
log-backup: edit checkpoint to 2 hours (#13894)
YuJuncen Feb 8, 2023
ee00d70
grafana: add grpc resource group QPS panel (#14171)
Connor1996 Feb 8, 2023
2d7bf4c
resource_control: support return resource groups config via http (#14…
glorv Feb 8, 2023
2301dac
raftstore: new slow store detecting (#14000)
innerr Feb 8, 2023
6b6f915
metrics: add panels showing pessimistic lock queue lengths (#14158)
ekexium Feb 9, 2023
fcc6829
config: disallow encryption for v2 (#14190)
tabokie Feb 9, 2023
10c5813
resource_control: pass missing resource group name to request header …
Connor1996 Feb 9, 2023
984d09a
log-backup: allow observer hibernate when there isn't any task (#14018)
YuJuncen Feb 9, 2023
c5e8704
raftkv: allow cancel error in snapshot (#14183)
BusyJay Feb 9, 2023
d513b78
copr: (feat) Implement operator PartitionTopN (#14116)
LittleFall Feb 9, 2023
ef09d27
polish the config region_split_size (#14182)
tonyxuqqi Feb 9, 2023
91b7a49
cdc: fix cdc integration test ` test_rawkv_sacn` (#14147)
zeminzhou Feb 11, 2023
e05f8f3
read_pool: avoid get inconsistent sample sum and count from histogram…
sticnarf Feb 13, 2023
61c5f1c
*: fix tablet leak in flow control (#14197)
BusyJay Feb 13, 2023
c9cebe6
raftstore-v2: integration test (#13989)
SpadeA-Tang Feb 13, 2023
c4b38e8
Raftstore-v2: support split operator (#14199)
SpadeA-Tang Feb 14, 2023
6d17e25
Raftstore-v2: use appropriate default region split size when integrat…
SpadeA-Tang Feb 14, 2023
8e5e5ea
chore: bump version to v6.7.0-alpha (#14216)
Feb 14, 2023
54c5ec7
log-backup: make the download more finer-grained (#14203)
YuJuncen Feb 15, 2023
ff0a79b
raftstore-v2: fix wrong peer cache (#14212)
BusyJay Feb 15, 2023
c072027
limit should await (#14222)
bufferflies Feb 15, 2023
13c2e54
causal_ts: simplify the logic of pop ts (#14227)
glorv Feb 15, 2023
3df8a7a
Raftstore-v2: snap status should be cleared when sending snapshot fai…
SpadeA-Tang Feb 16, 2023
c6aa5e3
Revise CONTRIBUTING.md contents (#14032)
woofyzhao Feb 16, 2023
bbe06e9
coprocessor: use mur3 to calculate fmsketch (#14204)
xuyifangreeneyes Feb 16, 2023
7a04500
cdc: filter changes based on the range in request (#14213)
overvenus Feb 16, 2023
c5ce165
raftstore-v2: fix destroy blocked by apply progress (#14223)
BusyJay Feb 16, 2023
e784a50
raftstore-v2: impl report buckets (#14044)
bufferflies Feb 17, 2023
07b2bde
raftstore,resolved_ts: advance resolved ts as needed (#14123)
overvenus Feb 17, 2023
728511e
rocksdb: reduce rocksdb block size to 32KB (#14053) (#14244)
tonyxuqqi Feb 18, 2023
b82036e
config: increase resolved-ts.advance-ts-interval to 20s (#14136)
overvenus Feb 18, 2023
1216d5e
pd_client: add some function to buckets (#14239)
bufferflies Feb 21, 2023
9a91e60
Raftstore-v2: update peer state after persisting snapshot (#14248)
SpadeA-Tang Feb 21, 2023
061d874
read_pool: avoid tail latency of spawning (#14207)
zyguan Feb 21, 2023
e247c76
integration test v2: strip off the data prefix when getting the regio…
SpadeA-Tang Feb 22, 2023
13eb4f6
raftstore-v2: prepare merge (#14226)
tabokie Feb 22, 2023
e99ebbc
*: enable bucket automatically if region size is large enough (#14255)
BusyJay Feb 22, 2023
6ea9c3a
raftstore-v2: consider `None` when getting mailbox (#14234)
SpadeA-Tang Feb 22, 2023
a675ca8
copr: early stop paging copr when resultset is drained. (#14209)
you06 Feb 22, 2023
0368d0a
*: update openssl-src version to fix CVE-2023-0286 (#14258)
cosven Feb 23, 2023
f0af6ff
integration test v2: report snapshot status after sending (#14252)
SpadeA-Tang Feb 23, 2023
5f5bb76
coprocessor: avoid unnecessary vec allocation in collect_column_stats…
xuyifangreeneyes Feb 26, 2023
b4da741
raftstore-v2: update region state in apply_snapshot (#14279)
SpadeA-Tang Feb 27, 2023
6a906da
impl buckets flow report (#14238)
bufferflies Feb 27, 2023
de78be9
log_backup: move all download request into the same runtime (#14286)
YuJuncen Feb 28, 2023
192dff6
importer: use kv engine instead of raw API (#14294)
BusyJay Feb 28, 2023
76bbf95
raft_client: report SnapshotStatus for witness (#14267)
ethercflow Mar 1, 2023
f3cb8ed
tablet_flow_control polish (#14232)
tonyxuqqi Mar 1, 2023
b550868
pd_client_v2: fix version race (#14310)
BusyJay Mar 1, 2023
ddb4e72
copr: fix paging stop early unexpectedly with agg executors (#14292)
you06 Mar 1, 2023
1208135
file_system: initialize io stats sentinel on thread start (#14319)
tabokie Mar 2, 2023
b050f07
integration test v2: introduce TestRaftKv2 (#14300)
SpadeA-Tang Mar 2, 2023
69dba51
raftstore-v2: reduce file count (#14318)
BusyJay Mar 2, 2023
4f2430d
sst_importer: add wire extra bytes into the packed size (#14312)
YuJuncen Mar 2, 2023
d74fd13
raftstore-v2: store heartbeat supports write keys and bytes. (#14271)
bufferflies Mar 2, 2023
8bfa12d
raftstore-v2: add some missing metrics (#14326)
tabokie Mar 4, 2023
199e63f
coprocessor: avoid fmsketch calculation for single-column index (#14345)
xuyifangreeneyes Mar 6, 2023
38568e4
metrics: add some metrics for snapshot-v2 (#14195)
bufferflies Mar 7, 2023
bb6f5e8
resource_control: enable by default (#14354)
nolouch Mar 7, 2023
3b56cfb
Metrics: add snapshot transport to grafana (#14337)
bufferflies Mar 7, 2023
0249022
copr: (enhance) support executor limit with partition_by fields (#14359)
LittleFall Mar 7, 2023
32925ca
txn: Well-defined behavior of allow_lock_with_conflict with should_no…
MyonKeminta Mar 7, 2023
404c777
raftstore-v2: consider None when getting mailbox (#14348)
SpadeA-Tang Mar 8, 2023
e186703
raftstore-v2: use compaction filter to trim tablet (#14350)
tabokie Mar 8, 2023
c4bc6d9
raftstore-v2: use larger target file size (#14361)
BusyJay Mar 8, 2023
cc72dc9
importer: support raftstore v2 (#14305)
BusyJay Mar 8, 2023
0aa9e14
raftstore: fix incorrect cond judgment leading to rejection of pre_pr…
ethercflow Mar 9, 2023
82ac84b
integration test v2: mvcc resolve lock gc test (#14360)
SpadeA-Tang Mar 9, 2023
6342e0e
server: support sending incremental snapshot (#14275)
BusyJay Mar 9, 2023
64a41f0
coprocessor: reuse EvalContext in collect_column_stats (#14376)
xuyifangreeneyes Mar 10, 2023
fc9cf09
*: more accurate time detail in kv response (#14358)
glorv Mar 10, 2023
ee57a81
raftstore-v2: fix ingest codec (#14373)
BusyJay Mar 13, 2023
571e513
log-backup: added intervally resolve regions (#14180)
YuJuncen Mar 13, 2023
dcd15ae
server: Record the duration of executing the snapshot and feedback to…
bufferflies Mar 14, 2023
852af46
raftstore: optimize write priority scheduling path (#14335)
Connor1996 Mar 14, 2023
6f85355
txn: add more logs for panic (#14394)
BusyJay Mar 14, 2023
c3e1cfb
storage: Fix flow controller pending compaction bytes always be zero …
Connor1996 Mar 14, 2023
bff6695
log-backup: Fix sub tracking (#14185)
YuJuncen Mar 16, 2023
09cd29f
raftstore-v2: add some logs and fix possible race between clean and t…
tabokie Mar 16, 2023
21ef364
raftstore-v2: filter read index msg when sending from self (#14396)
SpadeA-Tang Mar 16, 2023
eb4ad72
raft-log-engine: supply `prefill-for-recycle` configuration to enable…
LykxSassinator Mar 17, 2023
315d402
Revert changes that may cause performance regression introduced by wr…
Connor1996 Mar 17, 2023
b9bc478
engine: enable log recycling by default (#14380)
LykxSassinator Mar 17, 2023
fd2db9a
raftstore-v2: split init may be out of dated when conf change ocurred…
SpadeA-Tang Mar 17, 2023
138e1cd
raftstore-v2: remove flashback context (#14404)
BusyJay Mar 17, 2023
4baf9e7
tikv-ctl,raftstore: add a log to output corrupted raft msg (#13669)
glorv Mar 17, 2023
bec4034
readpool: fix missing metric `tikv_yatp_task_poll_duration` (#14423)
you06 Mar 19, 2023
63d82f3
resource_control: Introduce resource group priority (#14414)
Connor1996 Mar 20, 2023
7b1fe9d
PITR: support modifying the config tikv.import.memory-use-ratio onlin…
joccau Mar 20, 2023
4dc1a5a
grafana: fix grafana display anomaly (#14428)
Connor1996 Mar 20, 2023
5a8f970
feat: bump version to 7.1.0-alpha (#14431)
Mar 20, 2023
27f4d8c
backup-stream: don't close the server stream when encountered errors …
YuJuncen Mar 22, 2023
4b2dda4
storage: fix the apply write wal tracking time (#14444)
cfzjywxk Mar 23, 2023
ffaf486
raftstore-v2: commit merge (#14253)
tabokie Mar 24, 2023
7ab1702
raftstore-v2: flush memtable before proposing split (#14437)
SpadeA-Tang Mar 24, 2023
6d4f40c
snapshot: feedback multi rocksdb (#14400)
bufferflies Mar 27, 2023
88eb52d
resource_control: reset resource group virtual time when it is about …
glorv Mar 27, 2023
c930237
raftstore-v2: implement snapshot backup for raftstore v2 (#14438)
3pointer Mar 28, 2023
5a2ff32
config: fix alias name snap-max-write-bytes-per-sec (#14463)
BusyJay Mar 28, 2023
9eeda14
fix io breakdown for foreground write (#14456)
tonyxuqqi Mar 29, 2023
f8bf08c
log-backup: Using PD as metastore (#14278)
YuJuncen Mar 29, 2023
6f0f814
pitr: support modifying the config tikv.log-backup.max-flush-interval…
joccau Mar 29, 2023
d269912
txn: record the latch wait, flow control throttle, quota delay and sc…
cfzjywxk Mar 29, 2023
7e6dac4
sst_import: make apply asynchronous (#14363)
YuJuncen Mar 30, 2023
e0d25f9
server: Introduce a common layer between server and server2 (#14395)
CalvinNeo Mar 30, 2023
ee13695
raftstore-v2: change log level (#14500)
SpadeA-Tang Mar 31, 2023
d42aa0b
engine: update raft-engine (#14495)
LykxSassinator Mar 31, 2023
503174b
Parameterize Simulator and Cluster in test_raftstore-v2 (#14493)
CalvinNeo Apr 4, 2023
b778db2
raftstore-v2: thread name fix (#14461)
SpadeA-Tang Apr 6, 2023
f1d2de3
server, test: Refactor NodeCluster and ServerCluster (#14512)
CalvinNeo Apr 7, 2023
83ce091
cdc: batch send resolved ts exponentially to speed up TiCDC resolve l…
overvenus Apr 7, 2023
4199ed9
tikv_util: cgroup path parsing fix (#14537)
SpadeA-Tang Apr 7, 2023
abb672b
[raftstore-v2]: check apply_scheduler before using in on_refresh_regi…
tonyxuqqi Apr 8, 2023
68298d8
log-backup: use conservativer batch strategy (#14490)
YuJuncen Apr 10, 2023
6433784
log-backup: eliminate some verbose logs (#14454)
YuJuncen Apr 11, 2023
e61b51d
log-backup: make initial scanning more robust (#14403)
YuJuncen Apr 11, 2023
9a073f2
*: register cdc/resolved_ts endpoint in server2 (#14543)
overvenus Apr 11, 2023
ba80598
storage: implement the row value checksum encode logic in tikv side (…
cfzjywxk Apr 12, 2023
a4f995f
server2: disable cdc and resolved_ts as they are not fully implemente…
overvenus Apr 12, 2023
3630ba9
txn: Support check for_update_ts when prewriting (#14492)
MyonKeminta Apr 12, 2023
61380e3
resource_control: fix virtual time overflow (#14509)
glorv Apr 12, 2023
515bebb
txn: return duration_to_last_update when lock wait timeout (#14499)
ekexium Apr 12, 2023
b9ca84e
raftstore-v2: implement CaptureChange and LeaderCallback (#14558)
overvenus Apr 14, 2023
51b5613
Move simple write into raftstore (#14544)
CalvinNeo Apr 14, 2023
a693d63
importer: added grafana for point in time restore. (#14564)
YuJuncen Apr 17, 2023
58986c7
txn: Let commit rollback pessimistic lock instead of committing as Wr…
MyonKeminta Apr 17, 2023
3bf3121
raftstore: enable v1 to receive snapshot from v2 (#14559)
SpadeA-Tang Apr 17, 2023
9047705
raftstore: fix snap manager init (#14591)
SpadeA-Tang Apr 18, 2023
dee4649
*: support observe apply in raftstore v2 (#14562)
overvenus Apr 18, 2023
e024556
raftstore-v2: schedule raft tick after apply snapshot (#14550)
SpadeA-Tang Apr 18, 2023
8dd75f8
update storage.engine config to actual engine type used in existing c…
tonyxuqqi Apr 18, 2023
0c113a6
txn: round up last_update_duration_ms (#14571)
ekexium Apr 18, 2023
9fc8663
raftstore-v2: check peer trim status before prepare merge (#14374)
tabokie Apr 18, 2023
58ed39a
*: correct io type for raft engine write and purge (#14578)
BusyJay Apr 18, 2023
a4a2879
encryption: fix key collision handling (#14586)
tabokie Apr 18, 2023
a473cb3
sched_pool: auto switch between the single queue and priority queue …
nolouch Apr 19, 2023
7d77863
fix engine type config on existing cluster (#14603)
tonyxuqqi Apr 19, 2023
dd8322c
raftstore-v2: adapt catch up new peer for pending peers after split (…
3pointer Apr 19, 2023
a4000f6
snapshot-v2: delete idle snapshot file (#14590)
bufferflies Apr 19, 2023
fdc01d1
raftstore-v2: memtable pre-flush should be async (#14567)
SpadeA-Tang Apr 19, 2023
56f5d93
raftstore-v2: add capture tests (#14587)
overvenus Apr 19, 2023
5ef9d8a
rafstore-v2: fill start and end keys for initial messages (#14607)
overvenus Apr 19, 2023
32b2a88
resource_control: take global resource consumption into consideration…
Connor1996 Apr 20, 2023
21a98d8
chore: bump version to v7.2.0-alpha (#14615)
Apr 20, 2023
4b5846f
engine: add configurations for filter enhancements (#14527)
tabokie Apr 20, 2023
3867b95
raftstore-v2: support renaming encrypted dir (inefficiently) and batc…
tabokie Apr 20, 2023
ac7f148
raftstore-v2: adapt backup stream for raftstore-v2 (#14589)
3pointer Apr 20, 2023
dcf7f05
raftstore-v2: report sending/recving count (#14617)
bufferflies Apr 21, 2023
2984dd1
raftstore,server: add enable_v2_compatible_learner config (#14616)
overvenus Apr 21, 2023
b11c299
copr: fix extral physical table id when idx key < `MAX_OLD_ENCODED_VA…
Defined2014 Apr 21, 2023
666edee
raftstore: enable raftstore-v1 apply tablet snapshot sent from raftst…
SpadeA-Tang Apr 21, 2023
20b75dc
raft: peers shouldn't hibernate incorrectly when one node fails (#14574)
hicqu Apr 21, 2023
0de1123
raftstore-v2: prevent resolving store 0 (#14645)
overvenus Apr 24, 2023
1674d3c
raftstore: delete tablet snap if exists (#14647)
SpadeA-Tang Apr 24, 2023
84955b6
status_api: add get_engine_type api
tonyxuqqi Apr 25, 2023
c442667
[raftstore-v2]: add the missed apply log duration and fix apply wait …
tonyxuqqi Apr 25, 2023
c7cf0c6
raftstore: make v1 learner compatible with gc peer (#14601)
overvenus Apr 25, 2023
5dc8360
cdc: support filter lossy DDL changes (#14629)
Rustin170506 Apr 25, 2023
eb2ad98
cloud: update dependencies on Azure. (#14610)
LykxSassinator Apr 26, 2023
b96fe4d
update pprof (#14635)
tabokie Apr 26, 2023
8656623
txn: Check whether the primary matches when handling check_txn_status…
MyonKeminta Apr 26, 2023
3e0b035
Merge branch 'master' into get_engine_type_api
tonyxuqqi Apr 26, 2023
909ffe5
address lint
tonyxuqqi Apr 26, 2023
7a52b44
Merge branch 'get_engine_type_api' of https://github.com/tonyxuqqi/ti…
tonyxuqqi Apr 26, 2023
0f3013e
raftstore-v2: fix stale read by correct updating peers (#14665)
overvenus Apr 27, 2023
6b18e8f
metrics: add missing `check_leader` gRPC metrics (#14662)
you06 Apr 27, 2023
38462f2
[raftstore-v2]: optimize the load based split config based on region …
tonyxuqqi Apr 27, 2023
9e73fed
raftstore: support decode simple write request in v1 (#14638)
lidezhu Apr 27, 2023
53a5f09
storage: add checksum logic in row slice, add cop and get test cases …
cfzjywxk Apr 28, 2023
63d79d3
raftstore-v2: support dynamic config write buffer settings (#14565)
tabokie Apr 28, 2023
75fe457
Merge branch 'master' into get_engine_type_api
tonyxuqqi Apr 28, 2023
d5c0111
raftstore: pub snapshot_meta (#14674)
CalvinNeo May 5, 2023
9c3b48e
Merge branch 'master' into get_engine_type_api
tonyxuqqi May 5, 2023
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"
2 changes: 1 addition & 1 deletion 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
17 changes: 12 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,13 @@ 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.

### 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 +116,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 +134,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