This is an automated email from the ASF dual-hosted git repository. alexey pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit ae5374893b4d0a5e1e6a84a41057ccb616f7acd4 Author: hahao <[email protected]> AuthorDate: Fri Oct 23 16:47:17 2020 -0700 Remove redundant code in TabletReplica Change-Id: I506d1522ccdbf1bef6df54b19222d9c6b91789b6 Reviewed-on: http://gerrit.cloudera.org:8080/16647 Tested-by: Kudu Jenkins Reviewed-by: Andrew Wong <[email protected]> Reviewed-by: Grant Henke <[email protected]> --- src/kudu/tablet/tablet_replica.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/kudu/tablet/tablet_replica.h b/src/kudu/tablet/tablet_replica.h index 9d643a3..d33a2bb 100644 --- a/src/kudu/tablet/tablet_replica.h +++ b/src/kudu/tablet/tablet_replica.h @@ -372,7 +372,6 @@ class TabletReplica : public RefCountedThreadSafe<TabletReplica>, std::shared_ptr<Tablet> tablet_; std::shared_ptr<rpc::Messenger> messenger_; std::shared_ptr<consensus::RaftConsensus> consensus_; - simple_spinlock prepare_replicate_lock_; // Lock protecting state_, last_status_, as well as pointers to collaborating // classes such as tablet_, consensus_, and maintenance_ops_.
