Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue=#901 add row lock #902

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

issue=#901 add row lock #902

wants to merge 4 commits into from

Conversation

00k
Copy link
Collaborator

@00k 00k commented Jun 2, 2016

#901

例子:

./teracli  put/get  <table_name>  <column>  <value>  lock/check/unlock  <lock_id>
lock:写前获得锁
check:写前检查是否已获得锁
unlock:写后释放锁

1
2

@baidubot
Copy link
Collaborator

baidubot commented Jun 2, 2016

Reviewers: @caijieming-baidu @xupeilin

TKT_TYPE_NUM = 11
TKT_TYPE_NUM = 11,

TKT_LOCK = 0x82
Copy link
Collaborator

@xupeilin xupeilin Jun 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TKT_TYPE_NUM
这个宏指出了enum的成员个数,下面加了一个LOCK成员,和上面的已经无法相关了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants