Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11144


Change subject: wip consensus: atomicize timestamp/opid assignment
......................................................................

wip consensus: atomicize timestamp/opid assignment

This patch atomicizes timestamp assignment with respect to OpIds by
moving the assignment of timestamps into the RaftConsensus module, right
before operations are appended to the consensus queue to be sent to the
peers.

This patch adds test cases for timestamp serialization:
1. a test that writes data while triggering many change configs
2. a test that writes data while barraging the PingConsensus endpoint to
   replicate a no-op, circumventing any kind of serialization

WIP: dependent on the previous patch (PingConsensus RPC)

Change-Id: Id347847d117509b0eadedcb4117b4e781f6e3654
---
M src/kudu/consensus/consensus_queue.h
M src/kudu/consensus/raft_consensus.cc
M src/kudu/integration-tests/timestamp_serialization-itest.cc
M src/kudu/tablet/transactions/transaction_driver.cc
4 files changed, 168 insertions(+), 35 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/44/11144/1
--
To view, visit http://gerrit.cloudera.org:8080/11144
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id347847d117509b0eadedcb4117b4e781f6e3654
Gerrit-Change-Number: 11144
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <aw...@cloudera.com>

Reply via email to