You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
Review fixes and ruff settings
This commit is contained in:
@@ -11,7 +11,6 @@ import os
|
||||
import socket
|
||||
import time
|
||||
from collections import namedtuple
|
||||
from functools import partial
|
||||
from random import random
|
||||
from shutil import copyfile
|
||||
from typing import Tuple, Optional
|
||||
@@ -603,11 +602,6 @@ def get_dbroots(node, config=DEFAULT_MCS_CONF_PATH):
|
||||
smc_node.find(f"./ModuleDBRootID{i}-{j}-3").text
|
||||
)
|
||||
|
||||
if dbroots and nc.is_read_only():
|
||||
logger = logging.getLogger('dbroots')
|
||||
logger.warning(f'Config contains dbroots {dbroots} for this read-only node, ignoring')
|
||||
return []
|
||||
|
||||
return dbroots
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user