From f2b83650b5e71e23390f3d3fd365e704b70d11fa Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 29 Jan 2026 14:12:45 -0800 Subject: [PATCH] =?UTF-8?q?fix(deploy):=20full-reset=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=20wallet=20CDC=20consumer=20group=20=E5=92=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20cdc-resnapshot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CDC_CONSUMER_GROUPS 添加 auth-service-cdc-group-wallet - cdc_resnapshot 同时停止 auth-service(之前只停了 contribution-service) - cdc_resnapshot 完成后同时启动 auth-service Co-Authored-By: Claude Opus 4.5 --- backend/services/deploy-mining.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/services/deploy-mining.sh b/backend/services/deploy-mining.sh index 628a3984..defb2bb5 100755 --- a/backend/services/deploy-mining.sh +++ b/backend/services/deploy-mining.sh @@ -118,6 +118,7 @@ CDC_CONSUMER_GROUPS=( "contribution-service-cdc-phase-referral_relationships" "contribution-service-cdc-phase-planting_orders" "auth-service-cdc-group" + "auth-service-cdc-group-wallet" "mining-admin-service-cdc-group" ) @@ -760,6 +761,7 @@ cdc_resnapshot() { # Stop CDC consumer services first log_step "Stopping CDC consumer services..." service_stop "contribution-service" + service_stop "auth-service" # Wait for consumer groups to become inactive log_info "Waiting 10 seconds for consumers to disconnect..." @@ -865,6 +867,7 @@ cdc_resnapshot() { # Start services log_step "Starting CDC consumer services..." service_start "contribution-service" + service_start "auth-service" log_success "CDC re-snapshot completed!" log_info "Monitor sync progress with: ./deploy-mining.sh sync-status"