]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: implement BackfillListener::backfilled().
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 12 May 2020 14:46:14 +0000 (16:46 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 13 Jul 2020 14:25:30 +0000 (16:25 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/pg_recovery.cc

index 74f20a0bd83652716a66e98d9bb1deb53350dd26..ca5aa1c0ce58f7ce766b00f8e3cf205cb50d833f 100644 (file)
@@ -488,7 +488,14 @@ bool PGRecovery::budget_available() const
 
 void PGRecovery::backfilled()
 {
-  ceph_abort_msg("Not implemented");
+  shard_services.start_operation<LocalPeeringEvent>(
+    this,
+    shard_services,
+    pg_whoami,
+    pgid,
+    get_osdmap_epoch(),
+    get_osdmap_epoch(),
+    PeeringState::Backfilled{});
 }
 
 void PGRecovery::dispatch_backfill_event(