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

[jsk_fetch_startup] Use mongodb_store which can manage logerr throttle rate #1487

Merged

Conversation

708yamaguchi
Copy link
Member

@708yamaguchi 708yamaguchi commented May 25, 2022

From knorth55#237

When using fetch, it is difficult to debug because it sometimes throws out a large number of errors such as the following.
When I parsed log file, 250000 lines error is output for 10000 seconds.

[ERROR] [1653231340.987602] [/replicator_node:rosout]: [mongorestore] - E11000 duplicate key error collection: jsk_robot_lifelog.fetch1075 index: _id_ dup key: { : ObjectId('6243af9651998d10f0c7787c') }

By changing the code in mongodb_store, I throttle the error log.
strands-project/mongodb_store#271

@k-okada k-okada added the MergeOK label Aug 9, 2022
Copy link
Member

@k-okada k-okada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge ok, please pass CI

@k-okada k-okada merged commit 1fb0125 into jsk-ros-pkg:master Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants