goto / compass

Metadata storage service
https://goto.github.io/compass/
Apache License 2.0
2 stars 0 forks source link

Unmatched assets between PG <> ES #67

Open batrov opened 7 months ago

batrov commented 7 months ago

Is your feature request related to a problem? Please describe. Currently, there is a discrepancy between the assets in PG and ES, and the reason for this is unknown. This discrepancy adversely affects search relevancy and user experience, as users are unable to find the assets they are looking for or are presented with assets that are no longer available.

Describe the solution you'd like Provide a Sync API to recreate ES indexes

High Level Flow: image

We will only allow 1 sync job to run for 1 index to prevent the race conditions during the process

bsushmith commented 7 months ago

@batrov @haveiss

there is a discrepancy between the assets in PG and ES, and the reason for this is unknown

Can we try to identify the root cause of this?

I think this new API ,though quite helpful, addresses a different problem and not the root cause itself.

haveiss commented 7 months ago

@batrov @haveiss

there is a discrepancy between the assets in PG and ES, and the reason for this is unknown

Can we try to identify the root cause of this?

I think this new API ,though quite helpful, addresses a different problem and not the root cause itself.

a lot of factors that i can think of