Bug #4680
closedmds: log possibly not trimming
0%
Description
Apparently there are a lot of old files showing up in the log replay, and I noticed previously on a different issue that the log was quite large. Make sure it's trimming the LogSegments.
http://elbandi.net/ceph/mds.quadcore4.log.gz
Updated by Sam Lang about 11 years ago
I've seen it trim logs in the tests I've been running, but that's with mds_log_segment_size=16K and mds_log_max_segments=1. So the issue here might be that we want to adjust default config values.
Updated by Greg Farnum about 11 years ago
Yeah, it's not a generic never trimming; just not certain about this one. It could also be fine and just that there's been so little activity it's not trimming, but I want to take a few minutes to check.
Updated by Zheng Yan about 11 years ago
- Status changed from New to Closed
2013-03-28 10:27:35.154461 7f1fc96b8700 10 mds.0.log trim 2 / 30 segments, 10 / -1 events, 0 (0) expiring, 0 (0) expired
only 2 segments
2013-03-28 10:25:18.457573 7f1fcb8be700 1 mds.0.3 replay_start
...
2013-03-28 10:25:32.586122 7f1fcb8be700 1 mds.0.3 active_start
only took 14 seconds to recovery
Looks like there were a little activities.