Skip to content

Improve error handling in background thread #180

Closed
@cmumford

Description

Original issue 174 created by [email protected] on 2013-05-29T19:14:11.000Z:

There's a report[1] on the chromium issue tracker of a background thread eating 10-20% of CPU. This is reportedly due to leveldb encountering an error during a compaction, sleeping for 1s, and retrying in an infinite loop. Instead of hardcoding 1 second, we could instead not retry at all for Corruption errors and do a limited exponential backoff for I/O errors.

  1. https://code.google.com/p/chromium/issues/detail?id=244932

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions