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

hub-generated release note from an incremental release is not complete #147

Open
erikyao opened this issue Jul 1, 2022 · 0 comments
Open
Assignees

Comments

@erikyao
Copy link
Contributor

erikyao commented Jul 1, 2022

Related Issue: #103

Fix to #103 is to count the documents in post-index steps and write the stats into ES mapping metadata as well as into the build docs in MongoDB.

However that fix works only for full releases where ES indexing take places (and thus a post-index operation will be performed). In an incremental release, diff results (i.e. patches) are generated from two MongoDB collections, but we cannot calculate the ES stats from the diffs (e.g. an updated doc in MongoDB might be filtered out while indexing).

A possible workaround is to calculate the ES stats after the diffs are applied to the involved indices.

@erikyao erikyao self-assigned this Jul 1, 2022
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

No branches or pull requests

1 participant