[ 
https://issues.apache.org/jira/browse/KUDU-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated KUDU-550:
-----------------------------
    Component/s: perf

> Creating a clean tablet sometimes takes a long time
> ---------------------------------------------------
>
>                 Key: KUDU-550
>                 URL: https://issues.apache.org/jira/browse/KUDU-550
>             Project: Kudu
>          Issue Type: Bug
>          Components: perf, tserver
>    Affects Versions: M4.5
>            Reporter: David Alves
>            Priority: Trivial
>         Attachments: raft_consensus-itest (21).txt
>
>
> The default timeout on the client for admin operations is quite high (5 secs) 
> still there are times where we still timeout.
> Sometimes it takes 4.5-5 seconds from the moment a tablet server gets a 
> create tablet request to the moment the tablet is registered with the ts 
> tablet manager.
> This is very weird in new tablets and we should address it.
> Interesting log entries:
> I1103 05:10:26.186350 10969 tablet_service.cc:264] Processing CreateTablet 
> for tablet 805d0620dd984789a89c70efd481e29c (table=TestTable 
> [id=293487f3c5cb4d51b23379aa7c6e5fdb]), range=["", ""]
> I1103 05:10:26.187181 11088 tablet_service.cc:264] Processing CreateTablet 
> for tablet 805d0620dd984789a89c70efd481e29c (table=TestTable 
> [id=293487f3c5cb4d51b23379aa7c6e5fdb]), range=["", ""]
> I1103 05:10:26.187726 11202 tablet_service.cc:264] Processing CreateTablet 
> for tablet 805d0620dd984789a89c70efd481e29c (table=TestTable 
> [id=293487f3c5cb4d51b23379aa7c6e5fdb]), range=["", ""]
> I1103 05:10:30.476214 11202 ts_tablet_manager.cc:464] Registered tablet 
> 805d0620dd984789a89c70efd481e29c
> I1103 05:10:30.476301 11756 ts_tablet_manager.cc:325] Bootstrapping tablet: 
> 805d0620dd984789a89c70efd481e29c
> I1103 05:10:30.476444 11756 tablet_bootstrap.cc:234] Tablet 
> 805d0620dd984789a89c70efd481e29c: Bootstrap starting.
> I1103 05:10:30.476832 11756 tablet_bootstrap.cc:331] No previous blocks or 
> log segments found for tablet: 805d0620dd984789a89c70efd481e29c creating new 
> one.
> I1103 05:10:30.477103 11756 log.cc:305] Log is configured to *not* fsync() on 
> all Append() calls
> W1103 05:10:30.477444 11757 env_posix.cc:511] The filesystem does not support 
> fallocate().
> I1103 05:10:30.477656 11756 tablet_bootstrap.cc:234] Tablet 
> 805d0620dd984789a89c70efd481e29c: No bootstrap required, opened a new log
> I1103 05:10:30.477710 11756 ts_tablet_manager.cc:330] Time spent tablet 
> 805d0620dd984789a89c70efd481e29c bootstrap: real 0.001s       user 0.001s     
> sys 0.000s
> I1103 05:10:30.478070 11756 raft_consensus.cc:102] T 
> 805d0620dd984789a89c70efd481e29c P 7853062a1e224f5ebc51a9285545e696 
> [FOLLOWER]: Replica starting. Triggering 0 pending transactions.
> I1103 05:10:30.478206 11756 raft_consensus.cc:302] T 
> 805d0620dd984789a89c70efd481e29c P 7853062a1e224f5ebc51a9285545e696 
> [FOLLOWER]: Becoming Follower/Learner
> I1103 05:10:30.478266 11756 ts_tablet_manager.cc:350] Time spent starting 
> tablet 805d0620dd984789a89c70efd481e29c: real 0.001s        user 0.000s     
> sys 0.000s
> I1103 05:10:30.481504 11088 ts_tablet_manager.cc:464] Registered tablet 
> 805d0620dd984789a89c70efd481e29c
> I1103 05:10:30.481575 11759 ts_tablet_manager.cc:325] Bootstrapping tablet: 
> 805d0620dd984789a89c70efd481e29c
> I1103 05:10:30.481689 11759 tablet_bootstrap.cc:234] Tablet 
> 805d0620dd984789a89c70efd481e29c: Bootstrap starting.
> I1103 05:10:30.482074 11759 tablet_bootstrap.cc:331] No previous blocks or 
> log segments found for tablet: 805d0620dd984789a89c70efd481e29c creating new 
> one.
> I1103 05:10:30.482300 11759 log.cc:305] Log is configured to *not* fsync() on 
> all Append() calls
> W1103 05:10:30.482626 11760 env_posix.cc:511] The filesystem does not support 
> fallocate().
> I1103 05:10:30.482828 11759 tablet_bootstrap.cc:234] Tablet 
> 805d0620dd984789a89c70efd481e29c: No bootstrap required, opened a new log
> I1103 05:10:30.482877 11759 ts_tablet_manager.cc:330] Time spent tablet 
> 805d0620dd984789a89c70efd481e29c bootstrap: real 0.001s       user 0.001s     
> sys 0.000s
> I1103 05:10:30.483201 11759 raft_consensus.cc:102] T 
> 805d0620dd984789a89c70efd481e29c P b27fcd8b4a624b41a7ead590b376399d 
> [CANDIDATE]: Replica starting. Triggering 0 pending transactions.
> I1103 05:10:30.483479 11759 raft_consensus.cc:235] T 
> 805d0620dd984789a89c70efd481e29c P b27fcd8b4a624b41a7ead590b376399d [LEADER]: 
> Becoming Leader
> I1103 05:10:30.485169 10969 ts_tablet_manager.cc:464] Registered tablet 
> 805d0620dd984789a89c70efd481e29c
> I1103 05:10:30.485244 11765 ts_tablet_manager.cc:325] Bootstrapping tablet: 
> 805d0620dd984789a89c70efd481e29c
> I1103 05:10:30.485411 11765 tablet_bootstrap.cc:234] Tablet 
> 805d0620dd984789a89c70efd481e29c: Bootstrap starting.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to