So there's only one log: On Mon, Feb 26, 2018 at 2:08 AM, qi Shi <m13913886148@xxxxxxxxx> wrote: > class MDLog { > > map<uint64_t,LogSegment*> segments; These are considered the live segments, and is where new ones get placed. > set<LogSegment*> expiring_segments; These are segments which are being flushed out to the backing RADOS directory objects > set<LogSegment*> expired_segments; And these have actually been flushed, but maybe haven't actually been deleted yet. > > } > > 1, segments > 2,expiring_segments > 3,expired_segments > > > When the log will trim? > what is the relationship between these three logs? > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html