fix(deploy): full-reset 添加 wallet CDC consumer group 和修复 cdc-resnapshot
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
6f01892945
commit
f2b83650b5
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue