Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(backend): redis ssd变更为tendisplus不支持问题修复 #8843 #8844

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from backend.db_meta.enums import ClusterType
from backend.db_meta.models import Cluster
from backend.db_services.dbbase.constants import IpSource
from backend.db_services.version.utils import query_versions_by_key
from backend.flow.engine.controller.redis import RedisController
from backend.ticket import builders
from backend.ticket.builders.common.base import SkipToRepresentationMixin
Expand Down Expand Up @@ -70,15 +69,6 @@ def validate(self, attr):
)
)

if attr.get("db_version") not in query_versions_by_key(attr.get("target_cluster_type")):
raise serializers.ValidationError(
_("集群({}):{} 类集群不支持版本 {}.").format(
cluster.immute_domain,
attr.get("target_cluster_type"),
attr.get("db_version"),
)
)

return attr

data_check_repair_setting = DataCheckRepairSettingSerializer()
Expand Down
Loading