hbase - HBase IO 并发问题,如果我们扫描 hbase 并同时放一些匹配扫描条件的东西怎么办?
问题描述
好的,我想测试这个场景,但是并发的东西,即使有也不容易重现问题。
让我们分解一下:
Timeline: --------------------------------
Scan start and finish time: | |
Scan cursor location: ^
Put operation took place: a b c d e f g
a
put 发生在扫描甚至开始之前,这应该由扫描找到b
put 发生在扫描开始的同时,这个能找到吗?c
put 发生在扫描开始后,但在扫描光标到达那里之前d
put 发生在扫描光标到达时d
,就好像它已经在那里一样e
put 发生在扫描后,我不确定这个f
put发生在刚扫描完的时候,这个肯定找不到g
找不到,不用讨论
我想知道b
c
d
e
哪些可以通过扫描操作进行操作,谢谢。
解决方案
推荐阅读
- azure-keyvault - Vault .NET - 版本化 K/V 机密引擎的路径无效
- wicket - 第一次呈现页面时如何为模态窗口生成空div?
- amazon-web-services - 如何检查 VPC 中两个资源之间的连接性/可达性?
- django - 如何以最低的成本在 GCP 上部署 Django 应用程序和 PostgreSQL 以实现最小的服务器负载?
- xcode - 对目标 macOS 10.15 使用 Xcode 12 构建错误
- python - TypeError:使用请求时,类型集的对象不是 JSON 可序列化的
- node.js - PM2, 502 Bad gateway, Nginx 同时服务于 React 应用程序和 NodeJS API
- c - 它不打印哈希是什么?
- c++ - 动态加载使用应用程序方法的 dll
- python - 数值计算中的意外结果 - (在 double_scalar 中遇到无效值)