Skip to content

Regression in admin endpoint for migrating metadata to ES #485

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

Open
vikasrohit opened this issue Feb 24, 2020 · 3 comments
Open

Regression in admin endpoint for migrating metadata to ES #485

vikasrohit opened this issue Feb 24, 2020 · 3 comments
Assignees
Labels

Comments

@vikasrohit
Copy link

Following error is being thrown when trying to sync, using {{api-url}}/v5/projects/admin/es/migrateFromDb, the latest metadata in dev env:

{
    "message": "[mapper_parsing_exception] failed to parse",
    "debug": "Error: [mapper_parsing_exception] failed to parse\n    at respond (/usr/src/app/node_modules/elasticsearch/src/lib/transport.js:349:15)\n    at checkRespForFailure (/usr/src/app/node_modules/elasticsearch/src/lib/transport.js:306:7)\n    at done (/usr/src/app/node_modules/http-aws-es/connector.js:48:7)\n    at IncomingMessage.cleanUp (/usr/src/app/node_modules/http-aws-es/src/node.js:20:7)\n    at emitNone (events.js:110:20)\n    at IncomingMessage.emit (events.js:207:7)\n    at endReadableNT (_stream_readable.js:1045:12)\n    at /usr/src/app/node_modules/async-listener/glue.js:188:31\n    at _combinedTickCallback (internal/process/next_tick.js:138:11)\n    at process._tickDomainCallback (internal/process/next_tick.js:218:9)\n    at process.fallback (/usr/src/app/node_modules/async-listener/index.js:565:15)"
}
@vikasrohit vikasrohit added P0 P1 and removed P0 labels Feb 24, 2020
@vikasrohit
Copy link
Author

@maxceem fyi

@vikasrohit
Copy link
Author

@maxceem I am not sure what happened, but it worked after some time without any change. I was trying to get local env setup and point it to the dev env and it worked on my local first and then I tried on dev where it worked as well.

@maxceem
Copy link
Contributor

maxceem commented Feb 25, 2020

Hmm, it's hard to say what could happen without ability to reproduce the situation and check the actual data. I cannot think about any reason for now.

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