Re: URGENT: logm spam in ceph-mon store

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

 




Hi,

I think I found the culpit:

I changed the paxos debug level to 20 and fond this in mon store log:

2021-12-16T18:35:07.814+0100 7fec66e79700 20 mon.server6@0(leader).paxosservice(logm 56666064..29067286) maybe_trim 56666064~29067236 2021-12-16T18:35:07.814+0100 7fec66e79700 10 mon.server6@0(leader).paxosservice(logm 56666064..29067286) maybe_trim trim_to 29067236 < first_committed 56666064

56666064 is the get_first_committed version of paxos service
29067236 is calculated in LogMonitor.cc as:

  unsigned max = g_conf()->mon_max_log_epochs;
  version_t version = get_last_committed();
  if (version > max)
    return version - max;

This means that for some reason first_commited is now a lot larger then the last commit version on disc. This is why the old versions are not deleted.

This internal state corruption causes the monstore to grow indefinitely.

kind regards
 poelzi
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux