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

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

Commit db2a92a7c4b0f3cedd71ee25c423fc8d3cc21e96 in kudu's branch 
refs/heads/branch-1.18.x from zhangyifan27
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=db2a92a7c ]

KUDU-3571: fix flakiness in AutoIncrementingItest.BootstrapNoWalsNoData

The test AutoIncrementingItest.BootstrapNoWalsNoData sometimes failed due
to MVCC timestamp has not been initialized or inability to wait for in-flight
ops to be finished. This patch fixes this issue by waiting for everything
to be consistent before scanning.

Before this patch, when running the test with DEBUG configuration, 6/20 tests
failed. After this patch, 20/20 tests succeed.

Change-Id: I5bd387c82b632dbb77aa5a45f831273392ae05b4
Reviewed-on: http://gerrit.cloudera.org:8080/22133
Tested-by: Kudu Jenkins
Reviewed-by: Abhishek Chennaka <achenn...@cloudera.com>
Reviewed-by: Alexey Serbin <ale...@apache.org>
Reviewed-by: Ashwani Raina <ara...@cloudera.com>
(cherry picked from commit 2b9a2012f6d7b59931119dfad03e8d40e3031a0e)
Reviewed-on: http://gerrit.cloudera.org:8080/22240
Reviewed-by: Yifan Zhang <chinazhangyi...@163.com>
Tested-by: Alexey Serbin <ale...@apache.org>


> AutoIncrementingItest.BootstrapNoWalsNoData fails sometimes
> -----------------------------------------------------------
>
>                 Key: KUDU-3571
>                 URL: https://issues.apache.org/jira/browse/KUDU-3571
>             Project: Kudu
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 1.17.0
>            Reporter: Alexey Serbin
>            Priority: Major
>         Attachments: auto_incrementing-itest.txt.xz
>
>
> The {{AutoIncrementingItest.BootstrapNoWalsNoData}} scenario fails from time 
> to time with one of its assertions triggered, see below.  Full log is 
> attached.
> {noformat}
> /root/Projects/kudu/src/kudu/tserver/tablet_server-test-base.cc:362: Failure
> Failed
> Bad status: Invalid argument: Index 0 does not reference a valid sidecar
> /root/Projects/kudu/src/kudu/integration-tests/auto_incrementing-itest.cc:446:
>  Failure
> Expected equality of these values:
>   200
>   results.size()
>     Which is: 0
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to