You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: controller.rs
    path of file: ./repos/fluvio/crates/fluvio-sc/src/controllers/partitions
    
    the code of the file until where you have to start completion: //!
//! # Partition Controller
//!

use std::time::Duration;

use fluvio_controlplane_metadata::store::ChangeListener;
use fluvio_future::timer::sleep;
use tracing::{debug, trace, info, error, instrument};

use fluvio_future::task::spawn;
use fluvio_controlplane_metadata::core::MetadataItem
    
    async fn sync_partition_changes(&mut self, listener: &mut ChangeListener<PartitionSpec, C>) {
        if !listener.has_change() {
            trace!("no partitions change");
            return;
        }

        // we only care about delete timestamp changes which are in metadata only
        let changes = listener.sync_meta_changes().await;
        if changes.is_empty() {
            debug!("no partition metadata changes");
            return;
        }

        let (updates, _) = changes.parts();
        trace!(meta_changes = &*format!("{updates:#?}"), "metadata changes");

        let actions = self.reducer.process_partition_update(updates).await;

        debug!("generated partition actions: {}", actions.len());
        for action in actions.into_iter() {
            self.partitions.send_action(action).await;
        }
    }