Skip to content

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.

4 participants