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
BigCouch returns JSON array for sequence #1478
Comments
I pushed a fix for this in both 0.18 and master branch, it would be great if you can test it with bigcouch. |
Pulling and compiling now... I'll let you know in a bit. |
No dice. It can't consume the _changes stream at all:
|
You need to delete the river first, since last_seq got identified as numeric (maybe you worked with local couchdb), and then changed to an array when you moved to bigcoudh. |
I'm starting over with a fresh data directory and recreating the river |
Can you set |
Log file is about 17MB: http://ge.tt/8QErZBA?c |
https://gist.github.com/69c5cc6d2f214d3a5204 Looks like elasticsearch is parsing the json sequence info out properly for indexing, but is not storing it properly in the river/_seq document. If I look at what's in elasticsearch there is no _seq document for the given river. |
I see where the problem is, its because of the format of array, where it includes string and numeric types internally. Can I say again that this format BigCouch uses is quite atrocious... |
ok, I pushed another effort in trying to solve it. |
Getting the "failed to convert" error. |
BigCouch is returning:
elasticsearch is requesting:
It looks like elasticsearch isn't expecting bigcouch's use of json arrays as a sequence identifier. The string doesn't appear to be quoted when it's passed back in the &since= parameter.
The text was updated successfully, but these errors were encountered: