Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
kvs: do not generate uuid for commit transactions, use fixed algorithm for 'name' #1458
As discussed in #1446, do not generate a uuid for commit transactions, which is expensive. Instead, use a fixed algorithm to generate a name for each transaction, using the rank and sequence number incremented on each rank.
The commit RPC no longer needs to include the "name" field anymore as a result. As the name can be generated within the kvs module.
@@ Coverage Diff @@ ## master #1458 +/- ## ========================================== - Coverage 78.8% 78.73% -0.07% ========================================== Files 163 163 Lines 30220 30221 +1 ========================================== - Hits 23814 23796 -18 - Misses 6406 6425 +19