Closed orlando-jamie closed 4 years ago
Same here, any updates on issue?
I am seeing same problem after update to 3.1
Also getting this error. Logs are flooded with this exception until the offending document is manually removed. Recommend using upsert
operation instead of insertOne
.
also getting this error. mongo 4.2 and GL 3.1
@orlando-jamie @alarex @esapozhnikov @andloh I am unable to reproduce this, unfortunately.
Can you please show me the output of the following commands executed on the MongoDB server:
mongo graylog --eval "db.index_sets.find().pretty()"
mongo graylog --eval "db.index_field_types.find().pretty()"
(Please replace graylog
with the actual database name if it isn't named graylog
in your setup)
That should help us to debug the issue. Thank you
@Aenima4six2 We are already using an upsert operation, so that shouldn't be the issue.
Hi, solved this by persisting the graylog server id. We was running it in k8s, and every time the container restarts, graylog gets a new id
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
@orlando-jamie @alarex @esapozhnikov @Aenima4six2 We believe we found the root cause of this. It has been documented in https://github.com/Graylog2/graylog2-server/issues/7258.
A fix for that has been committed and will be included in the upcoming 3.2.0 release.
Thank you for the report!
Hi, solved this by persisting the graylog server id. We was running it in k8s, and every time the container restarts, graylog gets a new id
Hello andloh, we're using version 3.3.5-1 and we couldn't fix this yet. Would you mind telling us how to persist server id? Thanks.
add the node-id to this file /usr/share/graylog/data/config/node-id
Expected Behavior
Would expect GL to run with no errors.
Current Behavior
After upgrading to GL 3.1, I frequently see the following alert in server.log. Seems to be caused by mongodb.
Steps to Reproduce (for bugs)
Context
Your Environment