Alexander Afanasyev | 6f70a0f | 2013-01-02 20:44:09 -0800 | [diff] [blame] | 1 | message SyncState |
| 2 | { |
Alexander Afanasyev | d09871f | 2013-01-04 22:36:37 -0800 | [diff] [blame] | 3 | required bytes name = 1; |
Alexander Afanasyev | 6f70a0f | 2013-01-02 20:44:09 -0800 | [diff] [blame] | 4 | |
| 5 | enum ActionType |
| 6 | { |
| 7 | UPDATE = 0; |
| 8 | DELETE = 1; |
| 9 | } |
| 10 | required ActionType type = 2; |
| 11 | |
| 12 | optional uint64 seq = 3; |
Zhenkai Zhu | e851b95 | 2013-01-13 22:29:57 -0800 | [diff] [blame] | 13 | optional bytes locator = 4; |
Zhenkai Zhu | 085aae7 | 2013-01-17 21:09:01 -0800 | [diff] [blame] | 14 | optional uint64 old_seq = 5; |
Alexander Afanasyev | 6f70a0f | 2013-01-02 20:44:09 -0800 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | message SyncStateMsg |
| 18 | { |
| 19 | repeated SyncState state = 1; |
| 20 | } |