top

Package kv provides a key-value API to an underlying cockroach datastore. Cockroach itself provides a single, monolithic, sorted key value map, distributed over multiple nodes. Each node holds a set of key ranges. Package kv translates between the monolithic, logical map which Cockroach clients experience to the physically distributed key ranges which comprise the whole.

Package kv implements the logic necessary to locate appropriate nodes based on keys being read or written. In some cases, requests may span a range of keys, in which case multiple RPCs may be sent out.

Imported by 147 package(s)

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

Imported only in test by 283 package(s)

  1. github.com/756445638/cockroach/kv
  2. github.com/756445638/cockroach/storage
  3. github.com/756445638/cockroach/ts
  4. github.com/AALEKH/cockroach/kv
  5. github.com/Aishraj/cockroach/kv
  6. github.com/Aishraj/cockroach/storage
  7. github.com/Aishraj/cockroach/ts
  8. github.com/JKhawaja/cockroach/kv
  9. github.com/JKhawaja/cockroach/storage
  10. github.com/JKhawaja/cockroach/ts
  11. github.com/ParthDesai/cockroach/kv
  12. github.com/ParthDesai/cockroach/storage
  13. github.com/ParthDesai/cockroach/ts
  14. github.com/YuleiXiao/cockroach/kv
  15. github.com/YuleiXiao/cockroach/storage
  16. github.com/YuleiXiao/cockroach/ts
  17. github.com/a10y/cockroach/kv
  18. github.com/a10y/cockroach/storage
  19. github.com/a10y/cockroach/ts
  20. github.com/abhi11/cockroach/kv
  21. github.com/abhi11/cockroach/storage
  22. github.com/abhi11/cockroach/ts
  23. github.com/abhinavdahiya/cockroach/kv
  24. github.com/abhinavdahiya/cockroach/storage
  25. github.com/abhinavdahiya/cockroach/ts
  26. github.com/aishraj/cockroach/kv
  27. github.com/aishraj/cockroach/storage
  28. github.com/aishraj/cockroach/ts
  29. github.com/ajayaa/cockroach/kv
  30. github.com/ajayaa/cockroach/security
  31. github.com/ajayaa/cockroach/storage
  32. github.com/ajayaa/cockroach/ts
  33. github.com/alex/cockroach/kv
  34. github.com/alex/cockroach/storage
  35. github.com/alex/cockroach/ts
  36. github.com/andreweduffy/cockroach/kv
  37. github.com/andreweduffy/cockroach/storage
  38. github.com/andreweduffy/cockroach/ts
  39. github.com/arkan/cockroach/kv
  40. github.com/arkan/cockroach/storage
  41. github.com/arkan/cockroach/ts
  42. github.com/arypurnomoz/cockroach/kv
  43. github.com/arypurnomoz/cockroach/security
  44. github.com/arypurnomoz/cockroach/storage
  45. github.com/arypurnomoz/cockroach/ts
  46. github.com/asubiotto/cockroach/kv
  47. github.com/asubiotto/cockroach/storage
  48. github.com/asubiotto/cockroach/ts
  49. github.com/aybabtme/cockroach/kv
  50. github.com/aybabtme/cockroach/storage
  51. github.com/aybabtme/cockroach/ts
  52. github.com/bdarnell/cockroach/kv
  53. github.com/bdarnell/cockroach/storage
  54. github.com/bdarnell/cockroach/ts
  55. github.com/bdotdub/cockroach/kv/rest
  56. github.com/bg451/cockroach/kv
  57. github.com/bg451/cockroach/storage
  58. github.com/bg451/cockroach/ts
  59. github.com/bydsky/cockroach/kv
  60. github.com/bydsky/cockroach/storage
  61. github.com/c4pt0r/cockroach/kv
  62. github.com/c4pt0r/cockroach/storage
  63. github.com/c4pt0r/cockroach/ts
  64. github.com/chzyer-dev/cockroach/kv
  65. github.com/chzyer-dev/cockroach/storage
  66. github.com/chzyer-dev/cockroach/ts
  67. github.com/citysir/cockroach/kv
  68. github.com/citysir/cockroach/storage
  69. github.com/citysir/cockroach/ts
  70. github.com/cockroachdb/cockroach/storage
  71. github.com/cockroachdb/cockroach/ts
  72. github.com/codepope/cockroach/kv
  73. github.com/codepope/cockroach/storage
  74. github.com/codepope/cockroach/ts
  75. github.com/d4l3k/cockroach/kv
  76. github.com/d4l3k/cockroach/storage
  77. github.com/d4l3k/cockroach/ts
  78. github.com/danielhan/cockroach/kv
  79. github.com/danielhan/cockroach/storage
  80. github.com/danielhan/cockroach/ts
  81. github.com/dig3rati/cockroach/kv
  82. github.com/dig3rati/cockroach/storage
  83. github.com/dig3rati/cockroach/ts
  84. github.com/dlsniper/cockroach/kv
  85. github.com/dlsniper/cockroach/storage
  86. github.com/dlsniper/cockroach/ts
  87. github.com/domluna/cockroach/kv
  88. github.com/domluna/cockroach/storage
  89. github.com/domluna/cockroach/ts
  90. github.com/dt/cockroach/kv
  91. github.com/dt/cockroach/storage
  92. github.com/dt/cockroach/ts
  93. github.com/eddyzhou/cockroach/kv
  94. github.com/eddyzhou/cockroach/storage
  95. github.com/eddyzhou/cockroach/ts
  96. github.com/erikstmartin/cockroach/kv
  97. github.com/erikstmartin/cockroach/storage
  98. github.com/erriapo/cockroach/kv
  99. github.com/erriapo/cockroach/storage
  100. github.com/funkygao/cockroach/kv
  101. github.com/funkygao/cockroach/storage
  102. github.com/guanqun/cockroach/kv
  103. github.com/guanqun/cockroach/storage
  104. github.com/guanqun/cockroach/ts
  105. github.com/herenow/cockroach/kv
  106. github.com/herenow/cockroach/storage
  107. github.com/heshed/cockroach/kv
  108. github.com/heshed/cockroach/storage
  109. github.com/heshed/cockroach/ts
  110. github.com/hurricane1026/cockroach/kv
  111. github.com/hurricane1026/cockroach/storage
  112. github.com/hurricane1026/cockroach/ts
  113. github.com/icattlecoder/cockroach/kv/rest
  114. github.com/jamesgraves/cockroach/kv
  115. github.com/jamesgraves/cockroach/storage
  116. github.com/jamesgraves/cockroach/ts
  117. github.com/jbowens/cockroach/kv
  118. github.com/jbowens/cockroach/storage
  119. github.com/jbowens/cockroach/ts
  120. github.com/jgautheron/cockroach/kv
  121. github.com/jgautheron/cockroach/security
  122. github.com/jgautheron/cockroach/storage
  123. github.com/jgautheron/cockroach/ts
  124. github.com/jiezcomet/cockroach/kv
  125. github.com/jiezcomet/cockroach/storage
  126. github.com/jiezcomet/cockroach/ts
  127. github.com/jmank88/cockroach/kv
  128. github.com/jmank88/cockroach/storage
  129. github.com/jmank88/cockroach/ts
  130. github.com/jsanc623/cockroach/kv
  131. github.com/kardianos/cockroach/kv
  132. github.com/kardianos/cockroach/storage
  133. github.com/kardianos/cockroach/ts
  134. github.com/kimh/cockroach/kv
  135. github.com/kimh/cockroach/storage
  136. github.com/kimh/cockroach/ts
  137. github.com/kokizzu/cockroach/kv
  138. github.com/kokizzu/cockroach/storage
  139. github.com/kokizzu/cockroach/ts
  140. github.com/kortschak/cockroach/kv
  141. github.com/kortschak/cockroach/storage
  142. github.com/kykl/cockroach/kv
  143. github.com/kykl/cockroach/security
  144. github.com/kykl/cockroach/storage
  145. github.com/kykl/cockroach/ts
  146. github.com/l2x/cockroach/kv
  147. github.com/l2x/cockroach/storage
  148. github.com/l2x/cockroach/ts
  149. github.com/liexusong/cockroach/kv
  150. github.com/liexusong/cockroach/storage
  151. github.com/liexusong/cockroach/ts
  152. github.com/liudch/cockroach/kv
  153. github.com/liudch/cockroach/security
  154. github.com/liudch/cockroach/storage
  155. github.com/liudch/cockroach/ts
  156. github.com/lostz/cockroach/kv
  157. github.com/lostz/cockroach/storage
  158. github.com/lparis/cockroach/kv
  159. github.com/lparis/cockroach/storage
  160. github.com/lparis/cockroach/ts
  161. github.com/marcuswestin/cockroach/kv
  162. github.com/marcuswestin/cockroach/storage
  163. github.com/marcuswestin/cockroach/ts
  164. github.com/maxid/cockroach/kv
  165. github.com/maxid/cockroach/security
  166. github.com/maxid/cockroach/storage
  167. github.com/maxid/cockroach/ts
  168. github.com/maximecaron/cockroach/kv
  169. github.com/maximecaron/cockroach/storage
  170. github.com/maximecaron/cockroach/ts
  171. github.com/mbertschler/cockroach/kv
  172. github.com/mbertschler/cockroach/storage
  173. github.com/mbertschler/cockroach/ts
  174. github.com/mjibson/cockroach/kv
  175. github.com/mjibson/cockroach/storage
  176. github.com/mjibson/cockroach/ts
  177. github.com/mohae/cockroach/kv
  178. github.com/nak3/cockroach/kv
  179. github.com/nak3/cockroach/storage
  180. github.com/nak3/cockroach/ts
  181. github.com/ngaut/cockroach/kv
  182. github.com/ngaut/cockroach/storage
  183. github.com/ngaut/cockroach/ts
  184. github.com/nimishzynga/cockroach/kv
  185. github.com/nimishzynga/cockroach/storage
  186. github.com/nporsche/cockroach/kv
  187. github.com/nporsche/cockroach/storage
  188. github.com/nporsche/cockroach/ts
  189. github.com/objectundefined/cockroach/kv
  190. github.com/objectundefined/cockroach/storage
  191. github.com/objectundefined/cockroach/ts
  192. github.com/occamshatchet/cockroach/kv
  193. github.com/occamshatchet/cockroach/security
  194. github.com/occamshatchet/cockroach/storage
  195. github.com/occamshatchet/cockroach/ts
  196. github.com/panyingyun/cockroach/kv
  197. github.com/panyingyun/cockroach/storage
  198. github.com/panyingyun/cockroach/ts
  199. github.com/paperstreet/cockroach/kv
  200. github.com/paperstreet/cockroach/storage
  201. github.com/paperstreet/cockroach/ts
  202. github.com/parthdesai/cockroach/kv
  203. github.com/parthdesai/cockroach/storage
  204. github.com/parthdesai/cockroach/ts
  205. github.com/petermattis/cockroach/kv
  206. github.com/petermattis/cockroach/storage
  207. github.com/petermattis/cockroach/ts
  208. github.com/phobos182/cockroach/kv
  209. github.com/phobos182/cockroach/storage
  210. github.com/phobos182/cockroach/ts
  211. github.com/phynalle/cockroach/kv
  212. github.com/phynalle/cockroach/storage
  213. github.com/phynalle/cockroach/ts
  214. github.com/rushiagr/cockroach/kv
  215. github.com/rushiagr/cockroach/storage
  216. github.com/rushiagr/cockroach/ts
  217. github.com/sacheendra/cockroach/kv
  218. github.com/sacheendra/cockroach/storage
  219. github.com/sacheendra/cockroach/ts
  220. github.com/sbunce/cockroach/kv
  221. github.com/sbunce/cockroach/storage
  222. github.com/sbunce/cockroach/ts
  223. github.com/seiflotfy/cockroach/kv
  224. github.com/seiflotfy/cockroach/storage
  225. github.com/seiflotfy/cockroach/ts
  226. github.com/siddontang/cockroach/kv
  227. github.com/siddontang/cockroach/storage
  228. github.com/siddontang/cockroach/ts
  229. github.com/skyportsystems/cockroach/kv
  230. github.com/skyportsystems/cockroach/storage
  231. github.com/slava-ustovytski/cockroach/kv
  232. github.com/slava-ustovytski/cockroach/storage
  233. github.com/slava-ustovytski/cockroach/ts
  234. github.com/slavau/cockroach/kv
  235. github.com/slavau/cockroach/storage
  236. github.com/slavau/cockroach/ts
  237. github.com/soniabhishek/cockroach/kv
  238. github.com/soniabhishek/cockroach/storage
  239. github.com/soniabhishek/cockroach/ts
  240. github.com/spencerkimball/cockroach/kv
  241. github.com/spencerkimball/cockroach/storage
  242. github.com/spencerkimball/cockroach/ts
  243. github.com/sunya123/cockroach/kv
  244. github.com/sunya123/cockroach/storage
  245. github.com/sunya123/cockroach/ts
  246. github.com/tamird/cockroach/kv
  247. github.com/tamird/cockroach/storage
  248. github.com/tamird/cockroach/ts
  249. github.com/tescherm/cockroach/kv
  250. github.com/tescherm/cockroach/storage
  251. github.com/tescherm/cockroach/ts
  252. github.com/the872/cockroach/kv
  253. github.com/the872/cockroach/storage
  254. github.com/the872/cockroach/ts
  255. github.com/tkschmidt/cockroach/kv
  256. github.com/tkschmidt/cockroach/storage
  257. github.com/tkschmidt/cockroach/ts
  258. github.com/tschottdorf/cockroach/kv
  259. github.com/tschottdorf/cockroach/storage
  260. github.com/tschottdorf/cockroach/ts
  261. github.com/upton/cockroach/kv
  262. github.com/upton/cockroach/storage
  263. github.com/upton/cockroach/ts
  264. github.com/vnadgir-ef/cockroach/kv
  265. github.com/vnadgir-ef/cockroach/storage
  266. github.com/vnadgir-ef/cockroach/ts
  267. github.com/walkingsparrow/cockroach/kv
  268. github.com/walkingsparrow/cockroach/storage
  269. github.com/wangtuanjie/cockroach/kv
  270. github.com/wangtuanjie/cockroach/storage
  271. github.com/xiang90/cockroach/kv
  272. github.com/xiang90/cockroach/storage
  273. github.com/yosiat/cockroach/kv
  274. github.com/yosiat/cockroach/storage
  275. github.com/yosiat/cockroach/ts
  276. github.com/yydzero/cockroach/kv
  277. github.com/yydzero/cockroach/storage
  278. github.com/yydzero/cockroach/ts
  279. github.com/zebozhuang/cockroach/kv
  280. github.com/zebozhuang/cockroach/storage
  281. github.com/zhaozhi406/cockroach/kv
  282. github.com/zhaozhi406/cockroach/storage
  283. github.com/zhaozhi406/cockroach/ts

Imports 28 package(s)

  1. github.com/cockroachdb/cockroach/rpc
  2. google.golang.org/grpc
  3. github.com/cockroachdb/cockroach/util/timeutil
  4. github.com/cockroachdb/cockroach/security
  5. github.com/cockroachdb/cockroach/keys
  6. github.com/cockroachdb/cockroach/gossip
  7. github.com/opentracing/basictracer-go
  8. github.com/cockroachdb/cockroach/util/syncutil
  9. github.com/cockroachdb/cockroach/util/retry
  10. github.com/cockroachdb/cockroach/util/metric
  11. github.com/cockroachdb/cockroach/util/envutil
  12. github.com/cockroachdb/cockroach/util/log
  13. github.com/cockroachdb/cockroach/roachpb
  14. github.com/cockroachdb/cockroach/internal/client
  15. github.com/cockroachdb/cockroach/util/hlc
  16. google.golang.org/grpc/credentials
  17. github.com/cockroachdb/cockroach/util
  18. github.com/opentracing/opentracing-go
  19. github.com/cockroachdb/cockroach/util/cache
  20. github.com/pkg/errors
  21. github.com/cockroachdb/cockroach/util/stop
  22. github.com/cockroachdb/cockroach/util/tracing
  23. github.com/cockroachdb/cockroach/util/uuid
  24. golang.org/x/net/context
  25. github.com/cockroachdb/cockroach/util/protoutil
  26. github.com/biogo/store/llrb
  27. google.golang.org/grpc/peer
  28. github.com/cockroachdb/cockroach/base

Test imports 16 package(s)

  1. github.com/cockroachdb/cockroach/testutils/serverutils
  2. github.com/cockroachdb/cockroach/util/netutil
  3. github.com/cockroachdb/cockroach/storage/storagebase
  4. github.com/cockroachdb/cockroach/util/leaktest
  5. github.com/cockroachdb/cockroach/server
  6. github.com/cockroachdb/cockroach/testutils/buildutil
  7. github.com/cockroachdb/cockroach/storage
  8. github.com/cockroachdb/cockroach/gossip/simulation
  9. github.com/cockroachdb/cockroach/testutils
  10. github.com/coreos/etcd/raft/raftpb
  11. github.com/cockroachdb/cockroach/storage/engine
  12. github.com/cockroachdb/cockroach/config
  13. github.com/cockroachdb/cockroach/testutils/localtestcluster
  14. github.com/cockroachdb/cockroach/security/securitytest
  15. github.com/cockroachdb/cockroach/storage/engine/enginepb
  16. github.com/cockroachdb/cockroach/util/randutil