tidb
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and…
What XERJ indexed
Snapshot
Only pkg/parser/mysql, pkg/server/internal/packetio at commit 8947a33f18 (2026-11-11).
Selected work

“skip small packets and pool zlib and zstd compressors in the …”. 4 files, 879 lines in pkg/server, pkg/parser.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-11-11. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
distributed-databasedistributed-transactionstidbdatabasescalemysqlhtapsql
Example questions
- How does tidb implement distributed-database?
- What does pkg/server do in tidb?
- Show the distributed-transactions code in tidb.
The prompt
Paste it into your AI agent. It clones pingcap/tidb at the pinned commit and indexes it on your machine.
Search the GitHub repository pingcap/tidb with XERJ (https://hub.xerj.org/corpus/pingcap--tidb). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/pingcap/tidb tidb && git -C tidb checkout 8947a33f18315678c73ce0cd115ceab2634ec27e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./tidb --url http://127.0.0.1:9200 --prefix tidb --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Nikita MassalitinDatabases and storage engines corporaetcd-srccloudnative-pgtikvapache/shardingspherersiota/creeldolthub/go-mysql-server
Selected work and consent: the XERJ registry.