Skip to content

Corrected the MeteredKeyValueStore constructor's field initialization order to prevent NullPointerException#38

Closed
Randall Hauch (rhauch) wants to merge 1 commit into
confluentinc:streamingfrom
rhauch:streaming-fix-metered-key-value-store-constructor
Closed

Corrected the MeteredKeyValueStore constructor's field initialization order to prevent NullPointerException#38
Randall Hauch (rhauch) wants to merge 1 commit into
confluentinc:streamingfrom
rhauch:streaming-fix-metered-key-value-store-constructor

Conversation

@rhauch

Copy link
Copy Markdown

Corrected order that MeteredKeyValueStore initialized its member fields so that the context is set before it is needed. This prevents a NullPointerException when running a topology with a key value store.

…ds so that the context is set before it is needed. This prevents a NullPointerException when running with a key value store.
@guozhangwang

Copy link
Copy Markdown

Thanks for the PR, this is already resolved in the latest streaming branch.

José Armando García Sancio (jsancio) pushed a commit that referenced this pull request Sep 13, 2019
…ent search (#38)

As described in https://issues.apache.org/jira/browse/DIRSERVER-2257, there is a timing window in the persistent search handler in Apache DS because existing entries are processed before the persistent listener is created to process modifications. New entries created while existing entries are being processed, but before the persistent listener is created may never be returned to the client. This PR adds a workaround to ensure that missing entries are processed in the next iteration. Also adds error handling with retries during startup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants