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

Use dual indexer and separate consumers for OpenSearch migration #6559

Merged
merged 5 commits into from
Jan 9, 2025

Conversation

neil-xie
Copy link
Member

@neil-xie neil-xie commented Dec 12, 2024

What changed?
Added dual indexer which contains 2 indexer to handle write operation to ES/OS
Each indexer will has its own consumer, so ES and OS can ack/nack kafka messages independently
Remove the migration indexer
Fixed a bug in the retry logic for es processor, which nacks the massges which are already acked.

Will land this after the changes in monorepo

Why?
OpenSearch migration

How did you test it?
Manual test to verify
Unit test

Potential risks

Release notes

Documentation Changes

service/worker/indexer/esProcessor.go Show resolved Hide resolved
service/worker/indexer/migration_indexer.go Outdated Show resolved Hide resolved
service/worker/service.go Outdated Show resolved Hide resolved
common/config/elasticsearch.go Outdated Show resolved Hide resolved
service/worker/indexer/migration_indexer.go Outdated Show resolved Hide resolved
service/worker/indexer/migration_indexer.go Show resolved Hide resolved
service/worker/service.go Outdated Show resolved Hide resolved
service/worker/service.go Show resolved Hide resolved
config/dynamicconfig/development_es.yaml Show resolved Hide resolved
@neil-xie neil-xie merged commit ad2d506 into cadence-workflow:master Jan 9, 2025
17 checks passed
@neil-xie neil-xie deleted the CDNC-11619 branch January 9, 2025 07:43
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.

2 participants