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

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

Commit 1c1f8f0e00e49429a91b5d01a9f8e0ff51afbff9 in kudu's branch 
refs/heads/branch-1.18.x from Alexey Serbin
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=1c1f8f0e0 ]

KUDU-3613 fix flakiness in replace_tablet-itest

Before this patch, the ReplaceTabletITest.ReplaceTabletsWhileWriting
test scenario would fail in about 2% of runs, mostly in ASAN builds.
The issue was due to selecting the same tablet UUID by the
ReplaceRandomTablet() test fixture's function two times in a row
in case of scheduler anomalies when running on busy nodes.

Change-Id: I8a8882da6276a1e7cc8d8f3cb3ce1c69f540a5d0
Reviewed-on: http://gerrit.cloudera.org:8080/22012
Tested-by: Alexey Serbin <ale...@apache.org>
Reviewed-by: Mahesh Reddy <mre...@cloudera.com>
Reviewed-by: Marton Greber <greber...@gmail.com>
(cherry picked from commit edb51241c154e411d84a52cd88400aab680f7639)
Reviewed-on: http://gerrit.cloudera.org:8080/22035


> ReplaceTabletITest.ReplaceTabletsWhileWriting fails from time to time
> ---------------------------------------------------------------------
>
>                 Key: KUDU-3613
>                 URL: https://issues.apache.org/jira/browse/KUDU-3613
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Alexey Serbin
>            Priority: Minor
>         Attachments: replace_tablet-itest.txt.xz
>
>
> The ReplaceTabletsWhileWriting scenario of the ReplaceTabletITest test fails 
> from time to time with error like below:
> {noformat}
> I20240903 18:48:30.731338  2161 replace_tablet-itest.cc:78] Replacing tablet 
> 84944f0d32304f639244185c3ea9323a
> I20240903 18:48:30.731984  2195 master_service.cc:946] ReplaceTablet: 
> received request to replace tablet 84944f0d32304f639244185c3ea9323a from 
> {username='slave'} at 127.0.0.1:52450
> src/kudu/integration-tests/replace_tablet-itest.cc:121: Failure
> Failed                                                                        
>   
> Bad status: Not found: Tablet 84944f0d32304f639244185c3ea9323a already 
> deleted  I20240903 18:48:30.735751  2764 ts_tablet_manager.cc:1918] T 
> 84944f0d32304f639244185c3ea9323a P 21583b3f42394236b177d3789a521308: tablet 
> deleted with delete type TABLET_DATA_DELETED: last-logged OpId 1.213
> {noformat}
> The full log is attached (ASAN build).



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

Reply via email to