Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/12945 )
Change subject: tool: perf tablet_scan action ...................................................................... Patch Set 2: (3 comments) http://gerrit.cloudera.org:8080/#/c/12945/2/src/kudu/tools/tool_action_perf.cc File src/kudu/tools/tool_action_perf.cc: http://gerrit.cloudera.org:8080/#/c/12945/2/src/kudu/tools/tool_action_perf.cc@744 PS2, Line 744: FsManagerOpts()); > Nope; I think bootstrapping may rewrite WAL segments, the cmeta, the tmeta, Double checked, here's a non-exhaustive list of the destructive things that bootstrapping may do: - Rename the tablet's WAL segment directory. - Create a new WAL segment for the tablet. - Flush the tablet's superblock. (AlterSchema) - Flush the tablet itself. (AlterSchema) http://gerrit.cloudera.org:8080/#/c/12945/2/src/kudu/tools/tool_action_perf.cc@756 PS2, Line 756: if (FLAGS_use_hybrid_clock) { : clock.reset(new HybridClock()); : } else { : clock.reset(LogicalClock::CreateStartingAt(Timestamp::kInitialTimestamp)); : } > I meant to follow-up on this. Without looking at the details, I thought per Checked; a logical clock here should be safe. http://gerrit.cloudera.org:8080/#/c/12945/2/src/kudu/tools/tool_action_perf.cc@869 PS2, Line 869: "Scan the contents of a local tablet" > OK. Done -- To view, visit http://gerrit.cloudera.org:8080/12945 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Id4667dcb2d9a21d77149ebdae2e29b7fce8b460b Gerrit-Change-Number: 12945 Gerrit-PatchSet: 2 Gerrit-Owner: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Grant Henke <granthe...@apache.org> Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Todd Lipcon <t...@apache.org> Gerrit-Comment-Date: Tue, 09 Apr 2019 20:45:01 +0000 Gerrit-HasComments: Yes