Skip to content

Conversation

@Demogorgon314
Copy link
Member

Fixes: #14219

Motivation

The incrCounter method is a sync method, we should wait for it done.

Modifications

Wait incrCounterAsync done in incrCounter method.

Documentation

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

This is a bug fix, no need docs.

  • doc

    (If this PR contains doc changes)

@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

@gaozhangmin
Copy link
Contributor

gaozhangmin commented Feb 18, 2022

CI failed with @Demogorgon314 related with insertionDeletion

Error:  insertionDeletionWitGenericType(org.apache.pulsar.metadata.MetadataCacheTest)  Time elapsed: 0.141 s  <<< FAILURE!
java.lang.AssertionError: expected [Optional[{a=1, b=2}]] but found [Optional.empty]

@Demogorgon314
Copy link
Member Author

@gaozhangmin I see, this is another problem. thanks for telling me, I'll fix it soon.

@Demogorgon314
Copy link
Member Author

@gaozhangmin #14373 PTAL : )

@codelipenghui codelipenghui merged commit afae29f into apache:master Feb 28, 2022
@Demogorgon314 Demogorgon314 deleted the fix/incr-counter-should-wait-it-done branch February 28, 2022 02:15
codelipenghui pushed a commit that referenced this pull request Mar 1, 2022
@codelipenghui codelipenghui modified the milestones: 2.11.0, 2.10.0 Mar 1, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs type/flaky-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: org.apache.pulsar.functions.instance.state.PulsarMetadataStateStoreImplTest#testGetAmount

6 participants