Project

General

Profile

Subtask #5213

Updated by Loic Dachary about 6 years ago

"work in progress":https://github.com/dachary/ceph/tree/wip-5213

Focus on the functions related to log merging ( merge_log and proc_replica_log ) rather than the simpler functions. It may not be wise to cover 100% of the LOC because the redefinition of the API will force to rewrite the tests. When the logic is complex the tests will not need to be rewritten completely. But the accessors will change and since their semantic is trivial, the tests won't help in any way.

Pull requests
* -"PGLog::merge_old_entry":https://github.com/ceph/ceph/pull/340-
* -"PGLog::merge_log":https://github.com/ceph/ceph/pull/349-
* "PGLog::proc_replica_log":https://github.com/ceph/ceph/pull/364


Discussions
* "rationale for a PGLog::merge_old_entry case":http://thread.gmane.org/gmane.comp.file-systems.ceph.devel/15401
* "PGLog::merge_log clarification":http://thread.gmane.org/gmane.comp.file-systems.ceph.devel/15465
* "PGLog::rewind_divergent_log use case":http://thread.gmane.org/gmane.comp.file-systems.ceph.devel/15499

Back