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

Fix indexer to filter out invalid msg #3479

Merged
merged 2 commits into from
Aug 26, 2020
Merged

Fix indexer to filter out invalid msg #3479

merged 2 commits into from
Aug 26, 2020

Conversation

vancexu
Copy link
Contributor

@vancexu vancexu commented Aug 26, 2020

What changed?
Fix indexer to filter out invalid msg

Why?
ES has a limit of 512 for docID size. Cadence use wid~rid as docID for visibility in ES, but currently do not have limit on wid size.
For users who use advanced visibility on ES, this PR will filter out those workflow with wid too long.

Team is also considering a breaking change to limit wid in near future.

How did you test it?
local and staging tests

Potential risks
For user who use advanced visibility on ES, if the wid+rid is longer than 512, it will not be searchable because of this change.

@vancexu vancexu requested a review from a team August 26, 2020 19:10
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 66.821% when pulling 843ea61 on fixindexer into 3a3ba20 on master.

@vancexu vancexu merged commit 63e8bac into master Aug 26, 2020
@vancexu vancexu deleted the fixindexer branch August 26, 2020 22:08
vancexu added a commit that referenced this pull request Aug 26, 2020
mkolodezny pushed a commit to mkolodezny/cadence that referenced this pull request Aug 27, 2020
yux0 pushed a commit to yux0/cadence that referenced this pull request May 4, 2021
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

Successfully merging this pull request may close these issues.

4 participants