Re: What is the difference between the three logs in ceph mdlog?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux