def _get_commitlog_files(node_path):
    commitlog_dir = os.path.join(node_path, 'commitlogs')
    return {os.path.join(commitlog_dir, name) for name in os.listdir(commitlog_dir)}
def _get_commitlog_files(node_path):
    commitlog_dir = os.path.join(node_path, 'commitlogs')
    return {os.path.join(commitlog_dir, name) for name in os.listdir(commitlog_dir)}