Skip to content

Conversation

nodece
Copy link
Member

@nodece nodece commented Apr 8, 2025

Fixes #24160

Motivation

stopLocalMetadataStoreAlwaysReconnect should wait for the zk to reconnect.

Modifications

Listen for metadata store session events, and upon invoking stopLocalMetadataStoreAlwaysReconnect, wait until a Reconnected is received before proceeding."

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@nodece nodece self-assigned this Apr 8, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 8, 2025
@nodece nodece closed this Apr 8, 2025
@nodece nodece reopened this Apr 8, 2025
@lhotari
Copy link
Member

lhotari commented Apr 8, 2025

@nodece I started looking into this too and came to a different conclusion of the problem. This is the fix I made: #24162 .

@lhotari
Copy link
Member

lhotari commented Apr 8, 2025

@nodece I guess this change would complement #24162 so they aren't exclusive.

@lhotari lhotari changed the title [fix][test] Fix flaky testFetchPartitionedTopicMetadataWithCacheRefresh [fix][test] Fix flaky BrokerServiceChaosTest.testFetchPartitionedTopicMetadataWithCacheRefresh Apr 8, 2025
@codecov-commenter
Copy link

codecov-commenter commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.20%. Comparing base (bbc6224) to head (d217e6d).
Report is 1009 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #24161      +/-   ##
============================================
+ Coverage     73.57%   74.20%   +0.63%     
+ Complexity    32624    32116     -508     
============================================
  Files          1877     1864      -13     
  Lines        139502   144470    +4968     
  Branches      15299    16483    +1184     
============================================
+ Hits         102638   107204    +4566     
+ Misses        28908    28798     -110     
- Partials       7956     8468     +512     
Flag Coverage Δ
inttests 26.71% <ø> (+2.13%) ⬆️
systests 23.14% <ø> (-1.18%) ⬇️
unittests 73.72% <ø> (+0.88%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1071 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nodece nodece merged commit 9bcad7c into apache:master Apr 9, 2025
51 checks passed
Technoboy- pushed a commit that referenced this pull request Apr 9, 2025
…cMetadataWithCacheRefresh (#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
@Technoboy- Technoboy- added this to the 4.1.0 milestone Apr 9, 2025
lhotari added a commit that referenced this pull request Apr 9, 2025
…cMetadataWithCacheRefresh (#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 9bcad7c)
lhotari added a commit that referenced this pull request Apr 9, 2025
…cMetadataWithCacheRefresh (#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 9bcad7c)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 11, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 9bcad7c)
(cherry picked from commit 59a2218)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 15, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 9bcad7c)
(cherry picked from commit 59a2218)
poorbarcode pushed a commit to poorbarcode/pulsar that referenced this pull request Apr 15, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 15, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 0634170)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 16, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 0634170)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 16, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 0634170)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 16, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 0634170)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Apr 16, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 0634170)
nodece added a commit to nodece/pulsar that referenced this pull request Apr 22, 2025
…cMetadataWithCacheRefresh (apache#24161)

Signed-off-by: Zixuan Liu <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
(cherry picked from commit 9bcad7c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky-test: BrokerServiceChaosTest.testFetchPartitionedTopicMetadataWithCacheRefresh
5 participants