def METHOD_NAME(self) -> None:
    last_modified = None
    db.download(self.github.db_path)
    try:
        last_modified = db.last_modified(self.github.db_path)
    except db.LastModifiedNotAvailable:
        pass
    if last_modified:
        logger.info(
            f"Retrieving issues modified or created since the last run on {last_modified.isoformat()}"
        )
        data = self.github.fetch_issues_updated_since_timestamp(
            last_modified.isoformat()
        )
        if self.retrieve_private:
            logger.info(
                "Replacing contents of auto closed public issues with private issues content"
            )
            self.replace_with_private(data)
        updated_ids = set(issue["id"] for issue in data)
        logger.info(
            "Deleting issues that were changed since the last run and saving updates"
        )
        self.github.delete_issues(lambda issue: issue["id"] in updated_ids)
        db.append(self.github.db_path, data)
        logger.info("Updating finished")
    else:
        logger.info("Retrieving all issues since last_modified is not available")
        self.github.download_issues()
        if self.retrieve_private:
            logger.info(
                "Replacing contents of auto closed public issues with private issues content"
            )
            all_issues = list(self.github.get_issues())
            updated_issues, updated_ids = self.replace_with_private(all_issues)
            logger.info(
                "Deleting public issues that were updated and saving updates"
            )
            self.github.delete_issues(lambda issue: issue["id"] in updated_ids)
            db.append(self.github.db_path, updated_issues)
    zstd_compress(self.github.db_path)