top

Package engine provides low-level storage. It interacts with storage backends (e.g. LevelDB, RocksDB, etc.) via the Engine interface. At one level higher, MVCC provides multi-version concurrency control capability on top of an Engine instance.

The Engine interface provides an API for key-value stores. InMem implements an in-memory engine using a sorted map. RocksDB implements an engine for data stored to local disk using RocksDB, a variant of LevelDB.

MVCC provides a multi-version concurrency control system on top of an engine. MVCC is the basis for Cockroach's support for distributed transactions. It is intended for direct use from storage.Range objects.

Notes on MVCC architecture

Each MVCC value contains a metadata key/value pair and one or more version key/value pairs. The MVCC metadata key is the actual key for the value, using the util/encoding.EncodeBytes scheme. The MVCC metadata value is of type MVCCMetadata and contains the most recent version timestamp and an optional roachpb.Transaction message. If set, the most recent version of the MVCC value is a transactional "intent". It also contains some information on the size of the most recent version's key and value for efficient stat counter computations. Notice that it is not necessary to explicitly store the MVCC metadata as its contents can be reconstructed from the most recent versioned value as long as an intent is not present. The implementation takes advantage of this and deletes the MVCC metadata when possible.

Each MVCC version key/value pair has a key which is also binary-encoded, but is suffixed with a decreasing, big-endian encoding of the timestamp (eight bytes for the nanosecond wall time, followed by four bytes for the logical time except for meta key value pairs, for which the timestamp is implicit). The MVCC version value is a message of type roachpb.Value. A deletion is is indicated by an empty value. Note that an empty roachpb.Value will encode to a non-empty byte slice. The decreasing encoding on the timestamp sorts the most recent version directly after the metadata key, which is treated specially by the RocksDB comparator (by making the zero timestamp sort first). This increases the likelihood that an Engine.Get() of the MVCC metadata will get the same block containing the most recent version, even if there are many versions. We rely on getting the MVCC metadata key/value and then using it to directly get the MVCC version using the metadata's most recent version timestamp. This avoids using an expensive merge iterator to scan the most recent version. It also allows us to leverage RocksDB's bloom filters.

The binary encoding used on the MVCC keys allows arbitrary keys to be stored in the map (no restrictions on intermediate nil-bytes, for example), while still sorting lexicographically and guaranteeing that all timestamp-suffixed MVCC version keys sort consecutively with the metadata key. We use an escape-based encoding which transforms all nul ("\x00") characters in the key and is terminated with the sequence "\x00\x01", which is guaranteed to not occur elsewhere in the encoded value. See util/encoding/encoding.go for more details.

We considered inlining the most recent MVCC version in the MVCCMetadata. This would reduce the storage overhead of storing the same key twice (which is small due to block compression), and the runtime overhead of two separate DB lookups. On the other hand, all writes that create a new version of an existing key would incur a double write as the previous value is moved out of the MVCCMetadata into its versioned key. Preliminary benchmarks have not shown enough performance improvement to justify this change, although we may revisit this decision if it turns out that multiple versions of the same key are rare in practice.

However, we do allow inlining in order to use the MVCC interface to store non-versioned values. It turns out that not everything which Cockroach needs to store would be efficient or possible using MVCC. Examples include transaction records, response cache entries, stats counters, time series data, and system-local config values. However, supporting a mix of encodings is problematic in terms of resulting complexity. So Cockroach treats an MVCC timestamp of zero to mean an inlined, non-versioned value. These values are replaced if they exist on a Put operation and are cleared from the engine on a delete. Importantly, zero-timestamped MVCC values may be merged, as is necessary for stats counters and time series data.

Imported by 467 package(s)

  1. github.com/756445638/cockroach/cli
  2. github.com/756445638/cockroach/server
  3. github.com/756445638/cockroach/sql
  4. github.com/756445638/cockroach/storage
  5. github.com/756445638/cockroach/testutils/localtestcluster
  6. github.com/AALEKH/cockroach/kv
  7. github.com/AALEKH/cockroach/server
  8. github.com/AALEKH/cockroach/storage
  9. github.com/AALEKH/cockroach/structured
  10. github.com/Aishraj/cockroach/cli
  11. github.com/Aishraj/cockroach/server
  12. github.com/Aishraj/cockroach/sql
  13. github.com/Aishraj/cockroach/storage
  14. github.com/Aishraj/cockroach/testutils/localtestcluster
  15. github.com/JKhawaja/cockroach/cli
  16. github.com/JKhawaja/cockroach/server
  17. github.com/JKhawaja/cockroach/storage
  18. github.com/ParthDesai/cockroach/kv
  19. github.com/ParthDesai/cockroach/server
  20. github.com/ParthDesai/cockroach/server/cli
  21. github.com/ParthDesai/cockroach/storage
  22. github.com/ParthDesai/cockroach/structured
  23. github.com/ParthDesai/cockroach/ts
  24. github.com/YuleiXiao/cockroach/cli
  25. github.com/YuleiXiao/cockroach/server
  26. github.com/YuleiXiao/cockroach/storage
  27. github.com/YuleiXiao/cockroach/testutils/localtestcluster
  28. github.com/a10y/cockroach/cli
  29. github.com/a10y/cockroach/server
  30. github.com/a10y/cockroach/sql
  31. github.com/a10y/cockroach/storage
  32. github.com/a10y/cockroach/testutils/localtestcluster
  33. github.com/abhi11/cockroach/cli
  34. github.com/abhi11/cockroach/kv
  35. github.com/abhi11/cockroach/server
  36. github.com/abhi11/cockroach/server/status
  37. github.com/abhi11/cockroach/storage
  38. github.com/abhinavdahiya/cockroach/cli
  39. github.com/abhinavdahiya/cockroach/server
  40. github.com/abhinavdahiya/cockroach/storage
  41. github.com/abhinavdahiya/cockroach/testutils/localtestcluster
  42. github.com/aishraj/cockroach/cli
  43. github.com/aishraj/cockroach/server
  44. github.com/aishraj/cockroach/sql
  45. github.com/aishraj/cockroach/storage
  46. github.com/aishraj/cockroach/testutils/localtestcluster
  47. github.com/ajayaa/cockroach/cli
  48. github.com/ajayaa/cockroach/kv
  49. github.com/ajayaa/cockroach/server
  50. github.com/ajayaa/cockroach/server/status
  51. github.com/ajayaa/cockroach/storage
  52. github.com/alex/cockroach/cli
  53. github.com/alex/cockroach/kv
  54. github.com/alex/cockroach/server
  55. github.com/alex/cockroach/server/status
  56. github.com/alex/cockroach/storage
  57. github.com/andreweduffy/cockroach/cli
  58. github.com/andreweduffy/cockroach/server
  59. github.com/andreweduffy/cockroach/sql
  60. github.com/andreweduffy/cockroach/storage
  61. github.com/andreweduffy/cockroach/testutils/localtestcluster
  62. github.com/arkan/cockroach/cli
  63. github.com/arkan/cockroach/server
  64. github.com/arkan/cockroach/sql
  65. github.com/arkan/cockroach/storage
  66. github.com/arkan/cockroach/testutils/localtestcluster
  67. github.com/arypurnomoz/cockroach/cli
  68. github.com/arypurnomoz/cockroach/kv
  69. github.com/arypurnomoz/cockroach/server
  70. github.com/arypurnomoz/cockroach/server/status
  71. github.com/arypurnomoz/cockroach/storage
  72. github.com/asubiotto/cockroach/cli
  73. github.com/asubiotto/cockroach/server
  74. github.com/asubiotto/cockroach/sql
  75. github.com/asubiotto/cockroach/storage
  76. github.com/aybabtme/cockroach/kv
  77. github.com/aybabtme/cockroach/server
  78. github.com/aybabtme/cockroach/server/cli
  79. github.com/aybabtme/cockroach/storage
  80. github.com/bdarnell/cockroach/cli
  81. github.com/bdarnell/cockroach/server
  82. github.com/bdarnell/cockroach/storage
  83. github.com/bdarnell/cockroach/testutils/localtestcluster
  84. github.com/bdotdub/cockroach/kv
  85. github.com/bdotdub/cockroach/kv/rest
  86. github.com/bdotdub/cockroach/server
  87. github.com/bdotdub/cockroach/storage
  88. github.com/bdotdub/cockroach/structured
  89. github.com/bg451/cockroach/cli
  90. github.com/bg451/cockroach/kv
  91. github.com/bg451/cockroach/server
  92. github.com/bg451/cockroach/server/status
  93. github.com/bg451/cockroach/storage
  94. github.com/bydsky/cockroach/kv
  95. github.com/bydsky/cockroach/server
  96. github.com/bydsky/cockroach/storage
  97. github.com/bydsky/cockroach/structured
  98. github.com/c4pt0r/cockroach/cli
  99. github.com/c4pt0r/cockroach/kv
  100. github.com/c4pt0r/cockroach/server
  101. github.com/c4pt0r/cockroach/server/status
  102. github.com/c4pt0r/cockroach/storage
  103. github.com/chzyer-dev/cockroach/cli
  104. github.com/chzyer-dev/cockroach/kv
  105. github.com/chzyer-dev/cockroach/server
  106. github.com/chzyer-dev/cockroach/server/status
  107. github.com/chzyer-dev/cockroach/storage
  108. github.com/citysir/cockroach/kv
  109. github.com/citysir/cockroach/server
  110. github.com/citysir/cockroach/server/cli
  111. github.com/citysir/cockroach/storage
  112. github.com/citysir/cockroach/structured
  113. github.com/citysir/cockroach/ts
  114. github.com/cockroachdb/cockroach/cli
  115. github.com/cockroachdb/cockroach/server
  116. github.com/cockroachdb/cockroach/sql
  117. github.com/cockroachdb/cockroach/storage
  118. github.com/cockroachdb/cockroach/testutils/localtestcluster
  119. github.com/codepope/cockroach/cli
  120. github.com/codepope/cockroach/server
  121. github.com/codepope/cockroach/server/status
  122. github.com/codepope/cockroach/storage
  123. github.com/codepope/cockroach/testutils/localtestcluster
  124. github.com/d4l3k/cockroach/cli
  125. github.com/d4l3k/cockroach/server
  126. github.com/d4l3k/cockroach/sql
  127. github.com/d4l3k/cockroach/storage
  128. github.com/danielhan/cockroach/cli
  129. github.com/danielhan/cockroach/server
  130. github.com/danielhan/cockroach/server/status
  131. github.com/danielhan/cockroach/storage
  132. github.com/danielhan/cockroach/testutils/localtestcluster
  133. github.com/dig3rati/cockroach/cli
  134. github.com/dig3rati/cockroach/kv
  135. github.com/dig3rati/cockroach/server
  136. github.com/dig3rati/cockroach/server/status
  137. github.com/dig3rati/cockroach/storage
  138. github.com/dlsniper/cockroach/cli
  139. github.com/dlsniper/cockroach/server
  140. github.com/dlsniper/cockroach/storage
  141. github.com/dlsniper/cockroach/testutils/localtestcluster
  142. github.com/domluna/cockroach/kv
  143. github.com/domluna/cockroach/server
  144. github.com/domluna/cockroach/server/cli
  145. github.com/domluna/cockroach/storage
  146. github.com/dt/cockroach/cli
  147. github.com/dt/cockroach/kv
  148. github.com/dt/cockroach/server
  149. github.com/dt/cockroach/server/status
  150. github.com/dt/cockroach/storage
  151. github.com/eddyzhou/cockroach/cli
  152. github.com/eddyzhou/cockroach/kv
  153. github.com/eddyzhou/cockroach/server
  154. github.com/eddyzhou/cockroach/storage
  155. github.com/erikstmartin/cockroach/kv
  156. github.com/erikstmartin/cockroach/server
  157. github.com/erikstmartin/cockroach/storage
  158. github.com/erikstmartin/cockroach/structured
  159. github.com/erriapo/cockroach/kv
  160. github.com/erriapo/cockroach/server
  161. github.com/erriapo/cockroach/server/cli
  162. github.com/erriapo/cockroach/storage
  163. github.com/erriapo/cockroach/structured
  164. github.com/funkygao/cockroach/kv
  165. github.com/funkygao/cockroach/server
  166. github.com/funkygao/cockroach/storage
  167. github.com/funkygao/cockroach/structured
  168. github.com/guanqun/cockroach/cli
  169. github.com/guanqun/cockroach/kv
  170. github.com/guanqun/cockroach/server
  171. github.com/guanqun/cockroach/server/status
  172. github.com/guanqun/cockroach/storage
  173. github.com/herenow/cockroach/kv
  174. github.com/herenow/cockroach/server
  175. github.com/herenow/cockroach/storage
  176. github.com/herenow/cockroach/structured
  177. github.com/heshed/cockroach/cli
  178. github.com/heshed/cockroach/kv
  179. github.com/heshed/cockroach/server
  180. github.com/heshed/cockroach/server/status
  181. github.com/heshed/cockroach/storage
  182. github.com/hurricane1026/cockroach/kv
  183. github.com/hurricane1026/cockroach/server
  184. github.com/hurricane1026/cockroach/server/cli
  185. github.com/hurricane1026/cockroach/storage
  186. github.com/icattlecoder/cockroach/kv
  187. github.com/icattlecoder/cockroach/kv/rest
  188. github.com/icattlecoder/cockroach/server
  189. github.com/icattlecoder/cockroach/storage
  190. github.com/icattlecoder/cockroach/structured
  191. github.com/jamesgraves/cockroach/cli
  192. github.com/jamesgraves/cockroach/kv
  193. github.com/jamesgraves/cockroach/server
  194. github.com/jamesgraves/cockroach/server/status
  195. github.com/jamesgraves/cockroach/storage
  196. github.com/jbowens/cockroach/cli
  197. github.com/jbowens/cockroach/kv
  198. github.com/jbowens/cockroach/server
  199. github.com/jbowens/cockroach/storage
  200. github.com/jgautheron/cockroach/cli
  201. github.com/jgautheron/cockroach/kv
  202. github.com/jgautheron/cockroach/server
  203. github.com/jgautheron/cockroach/server/status
  204. github.com/jgautheron/cockroach/storage
  205. github.com/jiezcomet/cockroach/cli
  206. github.com/jiezcomet/cockroach/kv
  207. github.com/jiezcomet/cockroach/server
  208. github.com/jiezcomet/cockroach/server/status
  209. github.com/jiezcomet/cockroach/storage
  210. github.com/jmank88/cockroach/cli
  211. github.com/jmank88/cockroach/kv
  212. github.com/jmank88/cockroach/server
  213. github.com/jmank88/cockroach/server/status
  214. github.com/jmank88/cockroach/storage
  215. github.com/jsanc623/cockroach/kv
  216. github.com/jsanc623/cockroach/server
  217. github.com/jsanc623/cockroach/storage
  218. github.com/jsanc623/cockroach/structured
  219. github.com/kardianos/cockroach/cli
  220. github.com/kardianos/cockroach/kv
  221. github.com/kardianos/cockroach/server
  222. github.com/kardianos/cockroach/sql
  223. github.com/kardianos/cockroach/storage
  224. github.com/kardianos/cockroach/structured
  225. github.com/kardianos/cockroach/testutils/localtestcluster
  226. github.com/kimh/cockroach/cli
  227. github.com/kimh/cockroach/kv
  228. github.com/kimh/cockroach/server
  229. github.com/kimh/cockroach/server/status
  230. github.com/kimh/cockroach/storage
  231. github.com/kkaneda/cockroach/kv
  232. github.com/kkaneda/cockroach/server
  233. github.com/kkaneda/cockroach/storage
  234. github.com/kkaneda/cockroach/structured
  235. github.com/kokizzu/cockroach/cli
  236. github.com/kokizzu/cockroach/kv
  237. github.com/kokizzu/cockroach/server
  238. github.com/kokizzu/cockroach/server/status
  239. github.com/kokizzu/cockroach/storage
  240. github.com/kortschak/cockroach/kv
  241. github.com/kortschak/cockroach/server
  242. github.com/kortschak/cockroach/server/cli
  243. github.com/kortschak/cockroach/storage
  244. github.com/kortschak/cockroach/structured
  245. github.com/kykl/cockroach/kv
  246. github.com/kykl/cockroach/server
  247. github.com/kykl/cockroach/storage
  248. github.com/l2x/cockroach/cli
  249. github.com/l2x/cockroach/kv
  250. github.com/l2x/cockroach/server
  251. github.com/l2x/cockroach/server/status
  252. github.com/l2x/cockroach/storage
  253. github.com/liexusong/cockroach/cli
  254. github.com/liexusong/cockroach/kv
  255. github.com/liexusong/cockroach/server
  256. github.com/liexusong/cockroach/server/status
  257. github.com/liexusong/cockroach/storage
  258. github.com/liudch/cockroach/cli
  259. github.com/liudch/cockroach/kv
  260. github.com/liudch/cockroach/server
  261. github.com/liudch/cockroach/server/status
  262. github.com/liudch/cockroach/storage
  263. github.com/lostz/cockroach/kv
  264. github.com/lostz/cockroach/server
  265. github.com/lostz/cockroach/storage
  266. github.com/lostz/cockroach/structured
  267. github.com/lparis/cockroach/cli
  268. github.com/lparis/cockroach/kv
  269. github.com/lparis/cockroach/server
  270. github.com/lparis/cockroach/server/status
  271. github.com/lparis/cockroach/storage
  272. github.com/marcuswestin/cockroach/cli
  273. github.com/marcuswestin/cockroach/kv
  274. github.com/marcuswestin/cockroach/server
  275. github.com/marcuswestin/cockroach/server/status
  276. github.com/marcuswestin/cockroach/storage
  277. github.com/maxid/cockroach/cli
  278. github.com/maxid/cockroach/kv
  279. github.com/maxid/cockroach/server
  280. github.com/maxid/cockroach/server/status
  281. github.com/maxid/cockroach/storage
  282. github.com/maximecaron/cockroach/cli
  283. github.com/maximecaron/cockroach/kv
  284. github.com/maximecaron/cockroach/server
  285. github.com/maximecaron/cockroach/server/status
  286. github.com/maximecaron/cockroach/storage
  287. github.com/mbertschler/cockroach/cli
  288. github.com/mbertschler/cockroach/kv
  289. github.com/mbertschler/cockroach/server
  290. github.com/mbertschler/cockroach/server/status
  291. github.com/mbertschler/cockroach/storage
  292. github.com/mjibson/cockroach/cli
  293. github.com/mjibson/cockroach/server
  294. github.com/mjibson/cockroach/storage
  295. github.com/mohae/cockroach/kv
  296. github.com/mohae/cockroach/server
  297. github.com/mohae/cockroach/storage
  298. github.com/mohae/cockroach/structured
  299. github.com/nak3/cockroach/cli
  300. github.com/nak3/cockroach/server
  301. github.com/nak3/cockroach/storage
  302. github.com/ngaut/cockroach/kv
  303. github.com/ngaut/cockroach/server
  304. github.com/ngaut/cockroach/server/cli
  305. github.com/ngaut/cockroach/storage
  306. github.com/nimishzynga/cockroach/kv
  307. github.com/nimishzynga/cockroach/server
  308. github.com/nimishzynga/cockroach/storage
  309. github.com/nimishzynga/cockroach/structured
  310. github.com/nporsche/cockroach/cli
  311. github.com/nporsche/cockroach/kv
  312. github.com/nporsche/cockroach/server
  313. github.com/nporsche/cockroach/server/status
  314. github.com/nporsche/cockroach/storage
  315. github.com/objectundefined/cockroach/cli
  316. github.com/objectundefined/cockroach/server
  317. github.com/objectundefined/cockroach/storage
  318. github.com/objectundefined/cockroach/testutils/localtestcluster
  319. github.com/occamshatchet/cockroach/kv
  320. github.com/occamshatchet/cockroach/server
  321. github.com/occamshatchet/cockroach/server/cli
  322. github.com/occamshatchet/cockroach/storage
  323. github.com/panyingyun/cockroach/cli
  324. github.com/panyingyun/cockroach/server
  325. github.com/panyingyun/cockroach/sql
  326. github.com/panyingyun/cockroach/storage
  327. github.com/panyingyun/cockroach/testutils/localtestcluster
  328. github.com/paperstreet/cockroach/cli
  329. github.com/paperstreet/cockroach/kv
  330. github.com/paperstreet/cockroach/server
  331. github.com/paperstreet/cockroach/storage
  332. github.com/parthdesai/cockroach/kv
  333. github.com/parthdesai/cockroach/server
  334. github.com/parthdesai/cockroach/server/cli
  335. github.com/parthdesai/cockroach/storage
  336. github.com/parthdesai/cockroach/structured
  337. github.com/parthdesai/cockroach/ts
  338. github.com/petermattis/cockroach/cli
  339. github.com/petermattis/cockroach/kv
  340. github.com/petermattis/cockroach/server
  341. github.com/petermattis/cockroach/storage
  342. github.com/phobos182/cockroach/cli
  343. github.com/phobos182/cockroach/kv
  344. github.com/phobos182/cockroach/server
  345. github.com/phobos182/cockroach/server/status
  346. github.com/phobos182/cockroach/storage
  347. github.com/phynalle/cockroach/cli
  348. github.com/phynalle/cockroach/kv
  349. github.com/phynalle/cockroach/server
  350. github.com/phynalle/cockroach/server/status
  351. github.com/phynalle/cockroach/storage
  352. github.com/rushiagr/cockroach/cli
  353. github.com/rushiagr/cockroach/server
  354. github.com/rushiagr/cockroach/storage
  355. github.com/rushiagr/cockroach/testutils/localtestcluster
  356. github.com/sacheendra/cockroach/cli
  357. github.com/sacheendra/cockroach/kv
  358. github.com/sacheendra/cockroach/server
  359. github.com/sacheendra/cockroach/server/status
  360. github.com/sacheendra/cockroach/storage
  361. github.com/sbunce/cockroach/kv
  362. github.com/sbunce/cockroach/server
  363. github.com/sbunce/cockroach/server/cli
  364. github.com/sbunce/cockroach/storage
  365. github.com/sbunce/cockroach/structured
  366. github.com/sbunce/cockroach/ts
  367. github.com/seiflotfy/cockroach/cli
  368. github.com/seiflotfy/cockroach/kv
  369. github.com/seiflotfy/cockroach/server
  370. github.com/seiflotfy/cockroach/server/status
  371. github.com/seiflotfy/cockroach/storage
  372. github.com/siddontang/cockroach/kv
  373. github.com/siddontang/cockroach/server
  374. github.com/siddontang/cockroach/server/cli
  375. github.com/siddontang/cockroach/storage
  376. github.com/siddontang/cockroach/structured
  377. github.com/siddontang/cockroach/ts
  378. github.com/skyportsystems/cockroach/kv
  379. github.com/skyportsystems/cockroach/server
  380. github.com/skyportsystems/cockroach/storage
  381. github.com/skyportsystems/cockroach/structured
  382. github.com/slava-ustovytski/cockroach/cli
  383. github.com/slava-ustovytski/cockroach/kv
  384. github.com/slava-ustovytski/cockroach/server
  385. github.com/slava-ustovytski/cockroach/server/status
  386. github.com/slava-ustovytski/cockroach/storage
  387. github.com/slavau/cockroach/cli
  388. github.com/slavau/cockroach/kv
  389. github.com/slavau/cockroach/server
  390. github.com/slavau/cockroach/server/status
  391. github.com/slavau/cockroach/storage
  392. github.com/soniabhishek/cockroach/cli
  393. github.com/soniabhishek/cockroach/kv
  394. github.com/soniabhishek/cockroach/server
  395. github.com/soniabhishek/cockroach/storage
  396. github.com/spencerkimball/cockroach/cli
  397. github.com/spencerkimball/cockroach/kv
  398. github.com/spencerkimball/cockroach/server
  399. github.com/spencerkimball/cockroach/storage
  400. github.com/sunya123/cockroach/cli
  401. github.com/sunya123/cockroach/server
  402. github.com/sunya123/cockroach/storage
  403. github.com/sunya123/cockroach/testutils/localtestcluster
  404. github.com/tamird/cockroach/cli
  405. github.com/tamird/cockroach/server
  406. github.com/tamird/cockroach/sql
  407. github.com/tamird/cockroach/storage
  408. github.com/tescherm/cockroach/cli
  409. github.com/tescherm/cockroach/server
  410. github.com/tescherm/cockroach/server/status
  411. github.com/tescherm/cockroach/storage
  412. github.com/tescherm/cockroach/testutils/localtestcluster
  413. github.com/the872/cockroach/cli
  414. github.com/the872/cockroach/server
  415. github.com/the872/cockroach/storage
  416. github.com/the872/cockroach/testutils/localtestcluster
  417. github.com/tkschmidt/cockroach/cli
  418. github.com/tkschmidt/cockroach/kv
  419. github.com/tkschmidt/cockroach/server
  420. github.com/tkschmidt/cockroach/server/status
  421. github.com/tkschmidt/cockroach/storage
  422. github.com/tschottdorf/cockroach/cli
  423. github.com/tschottdorf/cockroach/server
  424. github.com/tschottdorf/cockroach/storage
  425. github.com/upton/cockroach/cli
  426. github.com/upton/cockroach/kv
  427. github.com/upton/cockroach/server
  428. github.com/upton/cockroach/server/status
  429. github.com/upton/cockroach/storage
  430. github.com/vnadgir-ef/cockroach/cli
  431. github.com/vnadgir-ef/cockroach/kv
  432. github.com/vnadgir-ef/cockroach/server
  433. github.com/vnadgir-ef/cockroach/server/status
  434. github.com/vnadgir-ef/cockroach/storage
  435. github.com/walkingsparrow/cockroach/kv
  436. github.com/walkingsparrow/cockroach/server
  437. github.com/walkingsparrow/cockroach/storage
  438. github.com/walkingsparrow/cockroach/structured
  439. github.com/wangtuanjie/cockroach/kv
  440. github.com/wangtuanjie/cockroach/server
  441. github.com/wangtuanjie/cockroach/server/cli
  442. github.com/wangtuanjie/cockroach/storage
  443. github.com/wangtuanjie/cockroach/structured
  444. github.com/xiang90/cockroach/kv
  445. github.com/xiang90/cockroach/server
  446. github.com/xiang90/cockroach/storage
  447. github.com/xiang90/cockroach/structured
  448. github.com/yosiat/cockroach/cli
  449. github.com/yosiat/cockroach/kv
  450. github.com/yosiat/cockroach/server
  451. github.com/yosiat/cockroach/server/status
  452. github.com/yosiat/cockroach/storage
  453. github.com/yydzero/cockroach/cli
  454. github.com/yydzero/cockroach/kv
  455. github.com/yydzero/cockroach/server
  456. github.com/yydzero/cockroach/server/status
  457. github.com/yydzero/cockroach/storage
  458. github.com/zebozhuang/cockroach/kv
  459. github.com/zebozhuang/cockroach/server
  460. github.com/zebozhuang/cockroach/server/cli
  461. github.com/zebozhuang/cockroach/storage
  462. github.com/zebozhuang/cockroach/structured
  463. github.com/zhaozhi406/cockroach/cli
  464. github.com/zhaozhi406/cockroach/kv
  465. github.com/zhaozhi406/cockroach/server
  466. github.com/zhaozhi406/cockroach/server/status
  467. github.com/zhaozhi406/cockroach/storage

Imported only in test by 149 package(s)

  1. github.com/756445638/cockroach/kv
  2. github.com/756445638/cockroach/ts
  3. github.com/Aishraj/cockroach/kv
  4. github.com/Aishraj/cockroach/ts
  5. github.com/JKhawaja/cockroach/kv
  6. github.com/JKhawaja/cockroach/ts
  7. github.com/ParthDesai/cockroach/client
  8. github.com/YuleiXiao/cockroach/kv
  9. github.com/YuleiXiao/cockroach/ts
  10. github.com/a10y/cockroach/kv
  11. github.com/a10y/cockroach/ts
  12. github.com/abhi11/cockroach/ts
  13. github.com/abhinavdahiya/cockroach/kv
  14. github.com/abhinavdahiya/cockroach/ts
  15. github.com/aishraj/cockroach/kv
  16. github.com/aishraj/cockroach/ts
  17. github.com/ajayaa/cockroach/client
  18. github.com/ajayaa/cockroach/ts
  19. github.com/alex/cockroach/client
  20. github.com/alex/cockroach/ts
  21. github.com/andreweduffy/cockroach/kv
  22. github.com/andreweduffy/cockroach/ts
  23. github.com/arkan/cockroach/kv
  24. github.com/arkan/cockroach/ts
  25. github.com/arypurnomoz/cockroach/client
  26. github.com/arypurnomoz/cockroach/ts
  27. github.com/asubiotto/cockroach/kv
  28. github.com/asubiotto/cockroach/ts
  29. github.com/aybabtme/cockroach/client
  30. github.com/aybabtme/cockroach/structured
  31. github.com/aybabtme/cockroach/ts
  32. github.com/bdarnell/cockroach/kv
  33. github.com/bdarnell/cockroach/ts
  34. github.com/bg451/cockroach/ts
  35. github.com/c4pt0r/cockroach/client
  36. github.com/c4pt0r/cockroach/ts
  37. github.com/chzyer-dev/cockroach/ts
  38. github.com/citysir/cockroach/client
  39. github.com/cockroachdb/cockroach/kv
  40. github.com/cockroachdb/cockroach/ts
  41. github.com/codepope/cockroach/kv
  42. github.com/codepope/cockroach/ts
  43. github.com/d4l3k/cockroach/kv
  44. github.com/d4l3k/cockroach/ts
  45. github.com/danielhan/cockroach/kv
  46. github.com/danielhan/cockroach/ts
  47. github.com/dig3rati/cockroach/client
  48. github.com/dig3rati/cockroach/ts
  49. github.com/dlsniper/cockroach/kv
  50. github.com/dlsniper/cockroach/ts
  51. github.com/domluna/cockroach/client
  52. github.com/domluna/cockroach/structured
  53. github.com/domluna/cockroach/ts
  54. github.com/dt/cockroach/client
  55. github.com/dt/cockroach/ts
  56. github.com/eddyzhou/cockroach/client
  57. github.com/eddyzhou/cockroach/ts
  58. github.com/guanqun/cockroach/ts
  59. github.com/heshed/cockroach/client
  60. github.com/heshed/cockroach/ts
  61. github.com/hurricane1026/cockroach/client
  62. github.com/hurricane1026/cockroach/structured
  63. github.com/hurricane1026/cockroach/ts
  64. github.com/jamesgraves/cockroach/client
  65. github.com/jamesgraves/cockroach/ts
  66. github.com/jbowens/cockroach/client
  67. github.com/jbowens/cockroach/ts
  68. github.com/jgautheron/cockroach/client
  69. github.com/jgautheron/cockroach/ts
  70. github.com/jiezcomet/cockroach/client
  71. github.com/jiezcomet/cockroach/ts
  72. github.com/jmank88/cockroach/client
  73. github.com/jmank88/cockroach/ts
  74. github.com/kardianos/cockroach/ts
  75. github.com/kimh/cockroach/client
  76. github.com/kimh/cockroach/ts
  77. github.com/kokizzu/cockroach/ts
  78. github.com/kykl/cockroach/client
  79. github.com/kykl/cockroach/ts
  80. github.com/l2x/cockroach/client
  81. github.com/l2x/cockroach/ts
  82. github.com/liexusong/cockroach/client
  83. github.com/liexusong/cockroach/ts
  84. github.com/liudch/cockroach/client
  85. github.com/liudch/cockroach/ts
  86. github.com/lparis/cockroach/ts
  87. github.com/marcuswestin/cockroach/client
  88. github.com/marcuswestin/cockroach/ts
  89. github.com/maxid/cockroach/client
  90. github.com/maxid/cockroach/ts
  91. github.com/maximecaron/cockroach/client
  92. github.com/maximecaron/cockroach/ts
  93. github.com/mbertschler/cockroach/client
  94. github.com/mbertschler/cockroach/ts
  95. github.com/mjibson/cockroach/kv
  96. github.com/mjibson/cockroach/ts
  97. github.com/nak3/cockroach/kv
  98. github.com/nak3/cockroach/ts
  99. github.com/ngaut/cockroach/client
  100. github.com/ngaut/cockroach/structured
  101. github.com/ngaut/cockroach/ts
  102. github.com/nporsche/cockroach/client
  103. github.com/nporsche/cockroach/ts
  104. github.com/objectundefined/cockroach/kv
  105. github.com/objectundefined/cockroach/ts
  106. github.com/occamshatchet/cockroach/client
  107. github.com/occamshatchet/cockroach/structured
  108. github.com/occamshatchet/cockroach/ts
  109. github.com/panyingyun/cockroach/kv
  110. github.com/panyingyun/cockroach/ts
  111. github.com/paperstreet/cockroach/ts
  112. github.com/parthdesai/cockroach/client
  113. github.com/petermattis/cockroach/ts
  114. github.com/phobos182/cockroach/ts
  115. github.com/phynalle/cockroach/ts
  116. github.com/rushiagr/cockroach/kv
  117. github.com/rushiagr/cockroach/ts
  118. github.com/sacheendra/cockroach/ts
  119. github.com/sbunce/cockroach/client
  120. github.com/seiflotfy/cockroach/ts
  121. github.com/siddontang/cockroach/client
  122. github.com/slava-ustovytski/cockroach/client
  123. github.com/slava-ustovytski/cockroach/ts
  124. github.com/slavau/cockroach/client
  125. github.com/slavau/cockroach/ts
  126. github.com/soniabhishek/cockroach/ts
  127. github.com/spencerkimball/cockroach/ts
  128. github.com/sunya123/cockroach/kv
  129. github.com/sunya123/cockroach/ts
  130. github.com/tamird/cockroach/kv
  131. github.com/tamird/cockroach/ts
  132. github.com/tescherm/cockroach/kv
  133. github.com/tescherm/cockroach/ts
  134. github.com/the872/cockroach/kv
  135. github.com/the872/cockroach/ts
  136. github.com/tkschmidt/cockroach/client
  137. github.com/tkschmidt/cockroach/ts
  138. github.com/tschottdorf/cockroach/kv
  139. github.com/tschottdorf/cockroach/ts
  140. github.com/upton/cockroach/ts
  141. github.com/vnadgir-ef/cockroach/client
  142. github.com/vnadgir-ef/cockroach/ts
  143. github.com/xiang90/cockroach/client
  144. github.com/yosiat/cockroach/client
  145. github.com/yosiat/cockroach/ts
  146. github.com/yydzero/cockroach/ts
  147. github.com/zebozhuang/cockroach/client
  148. github.com/zhaozhi406/cockroach/client
  149. github.com/zhaozhi406/cockroach/ts

Imports 17 package(s)

  1. github.com/gogo/protobuf/proto
  2. github.com/cockroachdb/cockroach/roachpb
  3. github.com/cockroachdb/cockroach/util/stop
  4. github.com/cockroachdb/cockroach/storage/engine/rocksdb
  5. github.com/cockroachdb/cockroach/util/hlc
  6. github.com/cockroachdb/cockroach/util/protoutil
  7. github.com/cockroachdb/cockroach/util/envutil
  8. github.com/pkg/errors
  9. github.com/cockroachdb/cockroach/util/bufalloc
  10. github.com/cockroachdb/cockroach/util/log
  11. github.com/cockroachdb/cockroach/keys
  12. golang.org/x/net/context
  13. github.com/elastic/gosigar
  14. github.com/cockroachdb/cockroach/config
  15. github.com/dustin/go-humanize
  16. github.com/cockroachdb/cockroach/storage/engine/enginepb
  17. github.com/cockroachdb/cockroach/util/humanizeutil

Test imports 9 package(s)

  1. github.com/cockroachdb/cockroach/util/timeutil
  2. github.com/cockroachdb/cockroach/util/uuid
  3. github.com/cockroachdb/cockroach/util/caller
  4. github.com/termie/go-shutil
  5. github.com/cockroachdb/cockroach/util/leaktest
  6. github.com/cockroachdb/cockroach/util
  7. github.com/cockroachdb/cockroach/util/encoding
  8. github.com/cockroachdb/cockroach/util/randutil
  9. github.com/cockroachdb/cockroach/testutils