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_robot] Use mongodb_store which can manage logerr throttle … #237

Merged
merged 2 commits into from
May 23, 2022

Conversation

708yamaguchi
Copy link
Collaborator

@708yamaguchi 708yamaguchi commented May 23, 2022

From #234
PR to jsk-ros-pkg jsk-ros-pkg#1487

When using fetch, it is difficult to debug because it sometimes throws out a large number of errors such as the following.

[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

@knorth55
Could you review this PR and 708yamaguchi/monbodb_store fetch15 branch?

@708yamaguchi 708yamaguchi marked this pull request as ready for review May 23, 2022 05:12
@knorth55
Copy link
Owner

@708yamaguchi please make a PR on mongodb_store.

@knorth55
Copy link
Owner

also how can you get the frequency 25Hz?

@708yamaguchi
Copy link
Collaborator Author

@708yamaguchi please make a PR on mongodb_store.

I created strands-project/mongodb_store#271

also how can you get the frequency 25Hz?

When I checked /var/log/ros/jsk-fetch-startup.log.8,

  • The elapsed time between the first error and the last error was about 10000 seconds.
  • The file had about 250000 lines.

250000 / 10000 = 25 Hz

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

Successfully merging this pull request may close these issues.

2 participants