Code Ownership

Ownership is measured by how many commits each author made to each file in the current tree. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.

Files Tracked
1,552
in the current tree
Bus Factor
7
7 authors are primary owner of 791 of 1,552 files
Single-Owner Files
182
11.7% of tracked files
Contributors
399
authors who changed files

Bus factor risk — single-owner files

Files only one author has ever changed. The more a file has changed, the more knowledge is at risk if that person leaves.

FileSole ownerCommits
OWNERSTi Chi Robot10
components/engine_tirocks/src/lib.rsJay5
components/raftstore-v2/src/raft/mod.rsJay4
components/engine_tirocks/src/engine.rsJay4
components/raftstore-v2/src/operation/unsafe_recovery/mod.rsNeil Shen3
scripts/check-docker-buildXinye Tao3
components/resource_control/src/score.rsmittalrishabh2
.agents/skills/deep-review/SKILL.mdlucasliang2
components/causal_ts/src/metrics.rsPing Yu2
components/causal_ts/src/errors.rsPing Yu2
Table: the 100 most-changed of 182 single-owner files
FileSole ownerCommits
OWNERSTi Chi Robot10
components/engine_tirocks/src/lib.rsJay5
components/raftstore-v2/src/raft/mod.rsJay4
components/engine_tirocks/src/engine.rsJay4
components/raftstore-v2/src/operation/unsafe_recovery/mod.rsNeil Shen3
scripts/check-docker-buildXinye Tao3
components/resource_control/src/score.rsmittalrishabh2
.agents/skills/deep-review/SKILL.mdlucasliang2
components/causal_ts/src/metrics.rsPing Yu2
components/causal_ts/src/errors.rsPing Yu2
components/crypto/src/fips.rsNeil Shen2
components/raftstore/src/coprocessor/read_write/snapshot.rsNeil Shen2
components/crossbeam-skiplist/tests/base.rsNeil Shen2
scripts/check-log-styleNeil Shen2
components/cloud/gcp/src/client.rsglorv2
components/in_memory_engine/benches/load_region.rsglorv2
codecov.ymlwuhuizuo2
components/cloud/gcp_v2/Cargo.tomlJoyC-dev2
components/cloud/gcp_v2/src/credentials.rsJoyC-dev2
components/cloud/gcp_v2/src/kms.rsJoyC-dev2
components/cloud/gcp_v2/src/lib.rsJoyC-dev2
components/compact-log-backup/src/exec_hooks/mod.rs山岚2
doc/http.mdConnor2
components/engine_tirocks/src/util.rsJay2
components/tikv_util/benches/channel/mod.rsJay2
components/batch-system/tests/cases/mod.rsJay2
tests/integrations/config/test-log-compatible.tomlNathan2
components/engine_traits/src/range.rsBrian Anderson2
scripts/envGreg Weber2
tests/benches/misc/coprocessor/dag/expr/mod.rsNick Cameron2
CODE_COMMENT_STYLE.mdCalvin Weng2
src/storage/mvcc/mvcc_read_tracker.rsmittalrishabh1
.agents/skills/generate-pr-docs/SKILL.mdlucasliang1
doc/maintenance-guides/README.mdlucasliang1
doc/maintenance-guides/components/batch-system.mdlucasliang1
doc/maintenance-guides/components/hybrid_engine.mdlucasliang1
doc/maintenance-guides/components/service.mdlucasliang1
doc/maintenance-guides/src/coprocessor_v2.mdlucasliang1
.agents/skills/cherry-pick-resolve-conflict/SKILL.mdlucasliang1
components/service/src/lib.rslucasliang1
components/cloud/azure/src/token_credentials/mod.rslucasliang1
components/tikv_util/src/metrics/process_dummy.rsWenxuan1
components/tipb_helper/src/lib.rsWenxuan1
components/profiler/src/profiler_dummy.rsWenxuan1
fuzz/fuzzer-afl/src/bin/.gitignoreWenxuan1
fuzz/fuzzer-honggfuzz/.gitignoreWenxuan1
fuzz/fuzzer-honggfuzz/src/bin/.gitignoreWenxuan1
fuzz/fuzzer-libfuzzer/.gitignoreWenxuan1
fuzz/fuzzer-libfuzzer/src/bin/.gitignoreWenxuan1
tests/failpoints/cases/test_lock_wait_queue.rsZiqian Qin1
components/raftstore/src/store/disk_probe.rsBisheng Huang1
components/raftstore/src/store/fail_fast.rsBisheng Huang1
components/cdc/src/types.rsnhsmw1
components/cdc/src/watchdog.rsnhsmw1
components/tidb_query_datatype/src/codec/collation/encoding/unicode_letter.rsLiqi Geng1
components/in_memory_engine/src/memory_usage_test.rsNeil Shen1
components/raftstore/src/coprocessor/read_write/mod.rsNeil Shen1
components/test_util/data/.gitignoreNeil Shen1
components/crossbeam-skiplist/CHANGELOG.mdNeil Shen1
components/crossbeam-skiplist/LICENSE-APACHENeil Shen1
components/crossbeam-skiplist/LICENSE-MITNeil Shen1
components/crossbeam-skiplist/README.mdNeil Shen1
components/crossbeam-skiplist/benches/btree.rsNeil Shen1
components/crossbeam-skiplist/benches/hash.rsNeil Shen1
components/crossbeam-skiplist/benches/skiplist.rsNeil Shen1
components/crossbeam-skiplist/benches/skipmap.rsNeil Shen1
components/crossbeam-skiplist/examples/simple.rsNeil Shen1
components/crossbeam-skiplist/rustfmt.tomlNeil Shen1
components/crossbeam-skiplist/src/map.rsNeil Shen1
components/crossbeam-skiplist/src/set.rsNeil Shen1
components/crossbeam-skiplist/tests/map.rsNeil Shen1
components/crossbeam-skiplist/tests/set.rsNeil Shen1
src/coprocessor/config_manager.rsNeil Shen1
components/crypto/src/lib.rsNeil Shen1
components/crypto/src/rand.rsNeil Shen1
metrics/grafana/README.mdNeil Shen1
scripts/check-dashboardsNeil Shen1
tests/failpoints/cases/test_life.rsNeil Shen1
components/engine_traits/src/snapshot_misc.rsNeil Shen1
components/encryption/src/metrics.rsNeil Shen1
components/compact-log-backup/src/cache.rsJianjun Liao1
components/test_util/data/ca.srlNick Lopez1
tests/integrations/config/graceful_shutdown_config.rshujiatao1
components/tidb_query_aggr/src/impl_sum_int.rsxufei1
components/batch-system/src/OWNERSwuhuizuo1
components/cdc/src/OWNERSwuhuizuo1
components/encryption/src/OWNERSwuhuizuo1
components/pd_client/src/OWNERSwuhuizuo1
components/raftstore/src/coprocessor/OWNERSwuhuizuo1
components/raftstore/src/store/worker/OWNERSwuhuizuo1
components/sst_importer/src/OWNERSwuhuizuo1
etc/OWNERSwuhuizuo1
src/config/OWNERSwuhuizuo1
src/coprocessor_v2/OWNERSwuhuizuo1
src/server/OWNERSwuhuizuo1
src/server/gc_worker/OWNERSwuhuizuo1
src/server/lock_manager/OWNERSwuhuizuo1
src/storage/OWNERSwuhuizuo1
components/cloud/gcp_v2/tests/metrics.rsJoyC-dev1
patches/tempdir/Cargo.tomlJinpeng Zhang1

Ownership by author

Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.

AuthorFiles ownedSolely ownedFiles touched
glorv1862964
Jay16917688
Neil Shen12830711
Xinye Tao1183686
山岚856232
Wenxuan538236
Spade A523393
Brian Anderson522324
Nick Cameron4710362
Yilin Chen423294
lucasliang3910247
Connor332736
qupeng271281
5kbpers250315
Lei Zhao242731
Zhenchi213156
MyonKeminta190191
tonyxuqqi181217
xiongjiwei16247
wuhuizuo161519
Xuanwo13089
Ziqian Qin111139
NingLin-P110123
Ping Yu112121
Yang Zhang100298

Showing top 25 of 399 contributors.

Most shared files

Files touched by the most people — shared code where changes are most likely to need coordination.

FileContributorsPrimary ownerOwner share
Cargo.lock196Jay10.8%
Cargo.toml107Jay16.2%
src/storage/mod.rs86disksing15.0%
tests/integrations/config/mod.rs77Jay8.5%
components/server/src/server.rs76Xinye Tao8.7%
src/server/service/kv.rs74Jay9.8%
src/storage/txn/scheduler.rs72disksing13.9%
etc/config-template.toml69zhangjinpeng198713.8%
components/test_raftstore/src/server.rs68Jay8.9%
src/coprocessor/endpoint.rs68Wenxuan13.0%
components/raftstore/src/store/peer.rs62Jay12.2%
src/server/server.rs62Jay20.4%
metrics/grafana/tikv_details.json62Connor10.4%
components/raftstore/src/store/fsm/peer.rs61Jay10.4%
Makefile60Jay22.6%
components/test_raftstore/src/util.rs59Jay11.6%
README.md58Calvin Weng9.9%
components/raftstore/src/store/fsm/store.rs56Jay9.0%
components/raftstore/src/store/worker/pd.rs55lhy102410.3%
components/raftstore/src/store/fsm/apply.rs545kbpers7.9%