diff options
Diffstat (limited to 'src/osd/PGBackend.h')
-rw-r--r-- | src/osd/PGBackend.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/osd/PGBackend.h b/src/osd/PGBackend.h index e3cc05bf345..64b018cd129 100644 --- a/src/osd/PGBackend.h +++ b/src/osd/PGBackend.h @@ -46,13 +46,18 @@ virtual void on_local_recover_start( const hobject_t &oid, ObjectStore::Transaction *t) = 0; + /** * Called with the transaction recovering oid + * + * FIXME: recovery_info is a mutable reference because in the + * lost_unfound case, we need to adjust the version of the object + * which we intend to push to the replicas. This is not ideal. */ virtual void on_local_recover( const hobject_t &oid, const object_stat_sum_t &stat_diff, - const ObjectRecoveryInfo &recovery_info, + ObjectRecoveryInfo &recovery_info, ObjectContextRef obc, ObjectStore::Transaction *t ) = 0; |