Skip to content

Index created faster, than ensured Mapping template. #83

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

Closed
lambrent opened this issue Apr 9, 2019 · 4 comments
Closed

Index created faster, than ensured Mapping template. #83

lambrent opened this issue Apr 9, 2019 · 4 comments

Comments

@lambrent
Copy link

lambrent commented Apr 9, 2019

mapping Template is created, but log reach ES faster than template is created. Mapping template available only on next index.

@vanthome
Copy link
Owner

hmm, so you say we have a racing condition here?
Can you try to instantiate the transport and before you log the first message to invoke this method?

BulkWriter.prototype.checkEsConnection = function checkEsConnection() {

This is responsible to ensure the template.

@vanthome
Copy link
Owner

vanthome commented Aug 2, 2019

@lambrent any news on this?

1 similar comment
@vanthome
Copy link
Owner

@lambrent any news on this?

@Munawwar
Copy link
Contributor

Munawwar commented Jun 9, 2020

#142 fixed this to wait till template is created/confirmed before starting to log

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

3 participants