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 139 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/arypurnomoz/cockroach/server
  25. github.com/asubiotto/cockroach/server
  26. github.com/aybabtme/cockroach/server
  27. github.com/aybabtme/cockroach/server/cli
  28. github.com/bdarnell/cockroach/server
  29. github.com/bdotdub/cockroach/server
  30. github.com/bg451/cockroach/server
  31. github.com/c4pt0r/cockroach/server
  32. github.com/chzyer-dev/cockroach/server
  33. github.com/citysir/cockroach/server
  34. github.com/citysir/cockroach/server/cli
  35. github.com/cockroachdb/cockroach/server
  36. github.com/cockroachdb/cockroach/testutils/serverutils
  37. github.com/codepope/cockroach/server
  38. github.com/d4l3k/cockroach/server
  39. github.com/danielhan/cockroach/server
  40. github.com/dig3rati/cockroach/server
  41. github.com/dlsniper/cockroach/server
  42. github.com/domluna/cockroach/server
  43. github.com/domluna/cockroach/server/cli
  44. github.com/dt/cockroach/server
  45. github.com/eddyzhou/cockroach/server
  46. github.com/elvin-du/cockroach/server
  47. github.com/elvin-du/cockroach/structured
  48. github.com/erikstmartin/cockroach/server
  49. github.com/erriapo/cockroach/server
  50. github.com/funkygao/cockroach/server
  51. github.com/gqf2008/cockroach/server
  52. github.com/gqf2008/cockroach/structured
  53. github.com/guanqun/cockroach/server
  54. github.com/herenow/cockroach/server
  55. github.com/heshed/cockroach/server
  56. github.com/hurricane1026/cockroach/server
  57. github.com/hurricane1026/cockroach/server/cli
  58. github.com/icattlecoder/cockroach/server
  59. github.com/jamesgraves/cockroach/server
  60. github.com/jbowens/cockroach/server
  61. github.com/jgautheron/cockroach/server
  62. github.com/jiezcomet/cockroach/server
  63. github.com/jmank88/cockroach/server
  64. github.com/joinhack/cockroach/server
  65. github.com/joinhack/cockroach/structured
  66. github.com/jsanc623/cockroach/server
  67. github.com/kardianos/cockroach/server
  68. github.com/kardianos/cockroach/testutils/serverutils
  69. github.com/kimh/cockroach/server
  70. github.com/kokizzu/cockroach/server
  71. github.com/kortschak/cockroach/server
  72. github.com/kortschak/cockroach/server/cli
  73. github.com/kykl/cockroach/server
  74. github.com/l2x/cockroach/server
  75. github.com/liexusong/cockroach/server
  76. github.com/liudch/cockroach/server
  77. github.com/lostz/cockroach/server
  78. github.com/lparis/cockroach/server
  79. github.com/maniksurtani/cockroach/server
  80. github.com/maniksurtani/cockroach/structured
  81. github.com/marcuswestin/cockroach/server
  82. github.com/maxid/cockroach/server
  83. github.com/maximecaron/cockroach/server
  84. github.com/mbertschler/cockroach/server
  85. github.com/mjibson/cockroach/server
  86. github.com/mohae/cockroach/server
  87. github.com/nak3/cockroach/server
  88. github.com/ngaut/cockroach/server
  89. github.com/ngaut/cockroach/server/cli
  90. github.com/nimishzynga/cockroach/server
  91. github.com/nporsche/cockroach/server
  92. github.com/objectundefined/cockroach/server
  93. github.com/occamshatchet/cockroach/server
  94. github.com/oldmantaiter/cockroach/server
  95. github.com/oldmantaiter/cockroach/structured
  96. github.com/panyingyun/cockroach/server
  97. github.com/panyingyun/cockroach/testutils/serverutils
  98. github.com/paperstreet/cockroach/server
  99. github.com/parthdesai/cockroach/server
  100. github.com/parthdesai/cockroach/server/cli
  101. github.com/petermattis/cockroach/server
  102. github.com/phobos182/cockroach/server
  103. github.com/phynalle/cockroach/server
  104. github.com/pinterb/cockroach/server
  105. github.com/pinterb/cockroach/structured
  106. github.com/rushiagr/cockroach/server
  107. github.com/sacheendra/cockroach/server
  108. github.com/sbunce/cockroach/server
  109. github.com/sbunce/cockroach/server/cli
  110. github.com/sdboyer/cockroach/server
  111. github.com/sdboyer/cockroach/structured
  112. github.com/seiflotfy/cockroach/server
  113. github.com/siddontang/cockroach/server
  114. github.com/siddontang/cockroach/server/cli
  115. github.com/skyportsystems/cockroach/server
  116. github.com/slava-ustovytski/cockroach/server
  117. github.com/slavau/cockroach/server
  118. github.com/soniabhishek/cockroach/server
  119. github.com/spencerkimball/cockroach/server
  120. github.com/sunsimon/cockroach/server
  121. github.com/sunsimon/cockroach/structured
  122. github.com/sunya123/cockroach/server
  123. github.com/tamird/cockroach/server
  124. github.com/the872/cockroach/server
  125. github.com/tkschmidt/cockroach/server
  126. github.com/tschottdorf/cockroach/server
  127. github.com/upton/cockroach/server
  128. github.com/vnadgir-ef/cockroach/server
  129. github.com/walkingsparrow/cockroach/server
  130. github.com/wangtuanjie/cockroach/server
  131. github.com/wangtuanjie/cockroach/server/cli
  132. github.com/wmadisonDev/cockroach/server
  133. github.com/wmadisonDev/cockroach/structured
  134. github.com/xiang90/cockroach/server
  135. github.com/yosiat/cockroach/server
  136. github.com/yydzero/cockroach/server
  137. github.com/zebozhuang/cockroach/server
  138. github.com/zebozhuang/cockroach/server/cli
  139. github.com/zhaozhi406/cockroach/server

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