You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/07 19:23:00 UTC

[jira] [Commented] (KUDU-3280) TabletServerTest.TestStarvePerfImprovementOpsInColdTablet is flaky

    [ https://issues.apache.org/jira/browse/KUDU-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17341013#comment-17341013 ] 

ASF subversion and git services commented on KUDU-3280:
-------------------------------------------------------

Commit ad59ceaeff158111f4b8b723ce12870527839343 in kudu's branch refs/heads/master from zhangyifan27
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=ad59cea ]

KUDU-3280: fix flakiness in TabletServerTest.TestStarvePerfImprovementOpsInColdTablet

The test failed because the original perf improvement score
of flush/compaction ops in hot tablet may be always higher
than that in cold tablet. This patch fixed it by increasing
`FLAGS_flush_threshold_mb` and `FLAGS_flush_upper_bound_ms`
and reducing the amount of data written in hot tablet, so
the cold tablet would be compacted if
'workload_score_for_perf_improvement_ops' was diabled.

Change-Id: I9fca72965f25c14446741cc9602c4690404933f4
Reviewed-on: http://gerrit.cloudera.org:8080/17409
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>


> TabletServerTest.TestStarvePerfImprovementOpsInColdTablet is flaky
> ------------------------------------------------------------------
>
>                 Key: KUDU-3280
>                 URL: https://issues.apache.org/jira/browse/KUDU-3280
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Alexey Serbin
>            Priority: Minor
>         Attachments: tablet_server-test.0.txt.xz
>
>
> The {{TabletServerTest.TestStarvePerfImprovementOpsInColdTablet}} sometimes fails (at least, in RELEASE builds):
> {noformat}
> src/kudu/tserver/tablet_server-test.cc:4476: Failure
> Expected equality of these values:                                              
>   1                                                                             
>   cold_replica->tablet()->metrics()->compact_rs_duration->TotalCount()          
>     Which is: 0                                                                 
> src/kudu/util/test_util.cc:336: Failure
> Failed                                                                          
> Timed out waiting for assertion to pass. 
> {noformat}
> See the attached for the full log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)