Add Support for Redis Cluster#502
Conversation
f57624e to
a0e7a07
Compare
To test locally Create a dockerfileDockerfileBuild the project
Comment out these lines in the test-end-to-end-redis-cluster.shRun |
There was a problem hiding this comment.
No. It just falls through.
we call RedisCustomIO.write(getStore() for both the stores.
|
/retest |
|
/test test-end-to-end-batch |
|
This part needs to be changed as well, to include Redis Cluster as a valid store. |
f986cfc to
1afad9a
Compare
|
/hold |
|
Resolved the merge conflict due to changes in storage API. Will be manually testing this. |
Co-authored-by: Khor Shu Heng <khor.heng@gojek.com> Co-authored-by: Lavkesh Lahngir <lavkesh51@gmail.com>
1afad9a to
14f1431
Compare
|
/unhold |
| featureSetRequest.getFeatureReferences().asList()); | ||
| featureRows.add(featureRowsForFeatureSet); | ||
| } catch (InvalidProtocolBufferException | ExecutionException e) { | ||
| throw Status.INTERNAL |
There was a problem hiding this comment.
Just wondering if we should be throwing gRPC exceptions so deep within the code base. Perhaps this should be left to higher layers?
There was a problem hiding this comment.
While i agree that this should be left to higher layers, it is better to implemented that in a separate PR, as RedisOnlineRetriever will also be affected by the change.
| featureRows.forEach(row -> context.output(successfulInsertsTag, row)); | ||
| featureRows.clear(); | ||
| } catch (Exception e) { | ||
| featureRows.forEach( |
There was a problem hiding this comment.
Should we be logging to console or to statsd here if we have failures? or does that happen downstream?
There was a problem hiding this comment.
It would be done downstream: https://github.com/gojek/feast/blob/master/ingestion/src/main/java/feast/ingestion/ImportJob.java#L166
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
Thank you @lavkesh and @khorshuheng |
|
@lavkesh: Updated the
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This pull request adds REDIS_CLUSTER as a store.
Fixes #478