Skip to content

Commit

Permalink
fix(redis): redis单据联调 TencentBlueKing#7872
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 23745
  • Loading branch information
WytheLi committed Nov 13, 2024
1 parent 4b1dd59 commit 3d91204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def format_ticket_data(self):
class RedisClusterInstanceApplyResourceParamBuilder(RedisUpdateApplyResourceParamBuilder):
def format(self):
# 在跨机房亲和性要求下,接入层proxy的亲和性要求至少分布在2个机房
self.patch_info_affinity_location(roles=["spider_ip_list"])
self.patch_info_affinity_location(roles=["backend_group"])


@builders.BuilderFactory.register(TicketType.REDIS_CLUSTER_INS_MIGRATE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def format_ticket_data(self):
class RedisSingleInstanceApplyResourceParamBuilder(RedisUpdateApplyResourceParamBuilder):
def format(self):
# 在跨机房亲和性要求下,接入层proxy的亲和性要求至少分布在2个机房
self.patch_info_affinity_location(roles=["spider_ip_list"])
self.patch_info_affinity_location(roles=["backend_group"])


@builders.BuilderFactory.register(TicketType.REDIS_SINGLE_INS_MIGRATE)
Expand Down

0 comments on commit 3d91204

Please sign in to comment.