Переглянути джерело

etcdserverpb: update comment for txn request

Xiang Li 10 роки тому
батько
коміт
4a5b94478e
1 змінених файлів з 4 додано та 5 видалено
  1. 4 5
      etcdserver/etcdserverpb/rpc.proto

+ 4 - 5
etcdserver/etcdserverpb/rpc.proto

@@ -127,11 +127,10 @@ message Compare {
   }
 }
 
-// First all the compare requests are processed.
-// If all the compare succeed, all the success
-// requests will be processed.
-// Or all the failure requests will be processed and
-// all the errors in the comparison will be returned.
+// If the comparisons succeed, then the success requests will be processed in order, 
+// and the response will contain their respective responses in order.
+// If the comparisons fail, then the failure requests will be processed in order, 
+// and the response will contain their respective responses in order.
 
 // From google paxosdb paper:
 // Our implementation hinges around a powerful primitive which we call MultiOp. All other database