Skip to content

Conversation

@khorshuheng
Copy link
Collaborator

What this PR does / why we need it:
Currently the Jedis client is instantiated for each partition processed, and closed after use. In production, we noticed that there are some connection leak, which we suspect is due to connections that are not cleaned properly during retries. Instantiating Jedis client only once

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


@khorshuheng khorshuheng force-pushed the lazy-provider branch 2 times, most recently from 5a0d53d to f4c3b87 Compare June 21, 2022 04:42
Signed-off-by: khorshuheng <khor.heng@gojek.com>
Copy link
Contributor

@keshav2211 keshav2211 left a comment

Choose a reason for hiding this comment

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

lgtm, lets keep monitoring connection errors closely

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: keshav2211, khorshuheng

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@khorshuheng khorshuheng merged commit 58ebe0f into feast-dev:master Jun 21, 2022
khorshuheng added a commit to khorshuheng/feast-spark that referenced this pull request Jun 29, 2022
khorshuheng added a commit to khorshuheng/feast-spark that referenced this pull request Jun 29, 2022
…feast-dev#152)"

This reverts commit 58ebe0f.

Signed-off-by: khorshuheng <khor.heng@gojek.com>
khorshuheng added a commit that referenced this pull request Jun 29, 2022
* Revert "Instantiate Jedis client lazily and only once per JVM process (#152)"

This reverts commit 58ebe0f.

Signed-off-by: khorshuheng <khor.heng@gojek.com>

* Revert "Retry connection failure while instantiating connection provider (#144)"

This reverts commit fcb80a0.

Signed-off-by: khorshuheng <khor.heng@gojek.com>

Co-authored-by: khorshuheng <khor.heng@gojek.com>
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.

3 participants