parameters: (self, db_id, db_type, fusion_hostname)
return_statement: return files_to_transfer
docstring: Synchronizes database files.
  
      Args:
        db_id: database ID.
        db_type: database type.
        fusion_hostname: Fusion hostname.
      Raises:
        psycopg2.Error/Warning.
      Returns:
        list of files that need to be transferred.
docstring_summary: Synchronizes database files.
docstring_tokens: Synchronizes database files .
function: def SynchronizeDb(self, db_id, db_type, fusion_hostname):
      """Synchronizes database files.
  
      Args:
        db_id: database ID.
        db_type: database type.
        fusion_hostname: Fusion hostname.
      Raises:
        psycopg2.Error/Warning.
      Returns:
        list of files that need to be transferred.
      """
      logger.debug("SynchronizeDb...")
  
      file_good = 1
      query_string = ("SELECT file_path, file_size FROM files_table, "
                      "db_files_table WHERE file_status != %s"
                      " AND files_table.file_id = db_files_table.file_id AND "
                      "db_files_table.db_id = %s")
  
      files_to_update = self.DbQuery(query_string, (file_good, db_id))
      files_to_transfer = self._UpdateFileStatus(
          files_to_update, db_type, fusion_hostname)
  
      logger.debug("SynchronizeDb done.")
      return files_to_transfer
function_tokens: def SynchronizeDb ( self , db_id , db_type , fusion_hostname ) : logger . debug ( "SynchronizeDb..." ) file_good = 1 query_string = ( "SELECT file_path, file_size FROM files_table, " "db_files_table WHERE file_status != %s" " AND files_table.file_id = db_files_table.file_id AND " "db_files_table.db_id = %s" ) files_to_update = self . DbQuery ( query_string , ( file_good , db_id ) ) files_to_transfer = self . _UpdateFileStatus ( files_to_update , db_type , fusion_hostname ) logger . debug ( "SynchronizeDb done." ) return files_to_transfer