Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Clear all the futures when sync is called. #501

Merged
merged 12 commits into from
Feb 27, 2020

Conversation

lavkesh
Copy link
Contributor

@lavkesh lavkesh commented Feb 27, 2020

Futures may contain exception when retry happens. Futures.waitAll() returns when it encounters an exception. This will cause execute() call to never succeed.
So sync() call should clear future List so that retry can proceed.

@woop
Copy link
Member

woop commented Feb 27, 2020

/ok-to-test

Copy link
Member

@woop woop left a comment

Choose a reason for hiding this comment

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

Added some comments.

@woop
Copy link
Member

woop commented Feb 27, 2020

/approved
/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lavkesh, woop

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

The pull request process is described here

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

@feast-ci-bot feast-ci-bot merged commit 50916d5 into feast-dev:master Feb 27, 2020
khorshuheng pushed a commit to khorshuheng/feast that referenced this pull request Mar 17, 2020
* Replacing Jedis With Lettuce in ingestion and serving

* Removing extra lines

* Abstacting redis connection based on store

* Check the connection before connecting as lettuce does the retry automatically

* Running spotless

* Throw Exception if the job store config is null

* Handle No enum constant RuntimeException

* Future should be cleared everytime sync is called
khorshuheng pushed a commit that referenced this pull request Mar 17, 2020
* Replacing Jedis With Lettuce in ingestion and serving

* Removing extra lines

* Abstacting redis connection based on store

* Check the connection before connecting as lettuce does the retry automatically

* Running spotless

* Throw Exception if the job store config is null

* Handle No enum constant RuntimeException

* Future should be cleared everytime sync is called
@ches ches added the kind/bug label May 4, 2020
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.

4 participants