def run_set_replicas(args): conn = backend.connect() try: set_replicas(conn, replicas=args.num_replicas) except OperationError as e: sys.exit(str(e))
def run_set_replicas(args): conn = backend.connect() try: set_replicas(conn, replicas=args.num_replicas) except OperationError as e: sys.exit(str(e))
def run_set_replicas(args): conn = backend.connect() try: set_replicas(conn, replicas=args.num_replicas) except DatabaseOpFailedError as e: logger.warn(e)
def run_set_replicas(args): conn = backend.connect() try: set_replicas(conn, replicas=args.num_replicas) except OperationError as e: logger.warn(e)