bbfsdev / bbfs

Big brother file system (distributed file system)
14 stars 5 forks source link

Content data is flushed constantly #139

Closed bbfsdev closed 11 years ago

bbfsdev commented 11 years ago

It brings high disk load when we have many small files or content data is big enough. It must be a configurable time parameter of flushing content data to the disk. Default: 300s is good enough.

The problematic line is here: https://github.com/bbfsdev/bbfs/blob/master/lib/content_server/queue_indexer.rb#L96

A flag should be added to control the file flush timeout.

bbfsdev commented 11 years ago

Done. Closing the issue.