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

Quick republishing includes previous PUT's #103

Open
mrollinsiv opened this issue Aug 20, 2019 · 0 comments
Open

Quick republishing includes previous PUT's #103

mrollinsiv opened this issue Aug 20, 2019 · 0 comments
Labels

Comments

@mrollinsiv
Copy link

When republishing articles in rapid succession (developing/breaking news stories) the stream from amphora-search appears to have reference to the previous PUT's as well as the current.

We store full body content in elastic for our feeds and use the stream to gather that data. The duplication is causing the stale data to be written to elastic.

If you wait (presumably for cache to clear) the only the latest publish commands are in the stream.

I've cleared out the rest of the stream but here is an example of the duplication I see in the stream:

[ { type: 'put',
    key: 'clay.radio.com/_components/paragraph/instances/cjzij3e4t000g3h5uz62ixqhr@published',
    value: '{"text":"P2","componentVariation":"paragraph"}' },
  { type: 'put',
    key: 'clay.radio.com/_components/paragraph/instances/cjzij3e4t000g3h5uz62ixqhr@published',
    value: '{"text":"P2 v2","componentVariation":"paragraph"}' } ]
@mrollinsiv mrollinsiv changed the title Quick republishing caching previous PUT's Quick republishing includes previous PUT's Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants