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

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