You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Yingchun Lai (Code Review)" <ge...@cloudera.org> on 2021/11/25 13:07:31 UTC

[kudu-CR] [bootstrap] Speedup tablet bootstrap

Hello Tidy Bot, Attila Bukor, Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/18053

to look at the new patch set (#4).

Change subject: [bootstrap] Speedup tablet bootstrap
......................................................................

[bootstrap] Speedup tablet bootstrap

Speedup tablet bootstrap by
- using multi-threads to load tablets metadata
- short circuit return when found an active memory store in TabletBootstrap::AnalyzeActiveStores()
- improving branch prediction by adding more PREDICT_FALSE/TRUE on hot path

Change-Id: I816417d2d4c24014edb6b2a40c060f29e37ae219
---
M src/kudu/fs/fs_manager.cc
M src/kudu/tablet/tablet_bootstrap.cc
M src/kudu/tserver/ts_tablet_manager.cc
M src/kudu/tserver/ts_tablet_manager.h
4 files changed, 95 insertions(+), 65 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/53/18053/4
-- 
To view, visit http://gerrit.cloudera.org:8080/18053
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I816417d2d4c24014edb6b2a40c060f29e37ae219
Gerrit-Change-Number: 18053
Gerrit-PatchSet: 4
Gerrit-Owner: Yingchun Lai <ac...@gmail.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)