def schedule_cache_rebuild(self) -> None:
        """Cache rebuild handler.

        Is called to notify handler that it has to refresh its metadata cache from the database.
        """
        with self._condition:
            self._schedule_load_pg_dist_group = True
Cache rebuild handler.

        Is called to notify handler that it has to refresh its metadata cache from the database.
        
patroni/postgresql/mpp/citus.py