Skip to content

Conversation

@YihuiGuo
Copy link
Contributor

@YihuiGuo YihuiGuo commented May 30, 2022

This PR merges existing anchor with new anchor during registration in order to fix concurrent conflict.
Will serve as a quick fix, but will not solved it entirely.
Full fix will work with MVCC, and is in progress.

The use case is :

  1. Declare and register features, for one anchor, do not put all the features inside, only part of the features.
  2. Initialte another feathr client, declare and register the other part of the features.
  3. Call get_feature_from_registry, the second registration overwrites the first registration. i.e. only the second part is present.

@YihuiGuo
Copy link
Contributor Author

Related issue: #263

@xiaoyongzhu xiaoyongzhu added the safe to test Tag to execute build pipeline for a PR from forked repo label May 30, 2022
@xiaoyongzhu xiaoyongzhu linked an issue May 30, 2022 that may be closed by this pull request
Copy link
Collaborator

@Yuqing-cat Yuqing-cat left a comment

Choose a reason for hiding this comment

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

Looks good to me as a short-term fix.

@xiaoyongzhu xiaoyongzhu merged commit 28762c9 into feathr-ai:main Jun 1, 2022
bozhonghu pushed a commit that referenced this pull request Jun 1, 2022
* main: (30 commits)
  Yihui/moderate registration conflict (#304)
  Update homepage (#310)
  Add extensible extractor APIs (#302)
  Remove Java and JS from Code Scanning
  Create codeql-analysis.yml
  [feathr] Add API to materialize features to offline store (#294)
  Improve error message when path is not supported (#257)
  Add tech talk slides for Feathr (#296)
  Update README.md
  Add milestone link (#286)
  Fix millisecond timestamp handling (#288)
  Consolidating CI pipelines (#280)
  Fixed dependecy problem of pretty print utils (#273)
  Fixing a broken link in README.md (#277)
  Fix test failure (#276)
  Added feature validation (#258)
  Feathr UI: Display feature key and transform expression in feature detail pages (#262)
  Feathr UI: enable multiple tenant auth (#266)
  Reduce feathr web api docker image build time (#261)
  Pretty-print the features produced by buildFeatures  (#214)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Tag to execute build pipeline for a PR from forked repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_features_from_registry not getting all the features

4 participants