You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/07 12:26:09 UTC
[GitHub] [shardingsphere] sandynz commented on pull request #12267: Drop PostgreSQL replication slot when scaling task finished
sandynz commented on pull request #12267:
URL: https://github.com/apache/shardingsphere/pull/12267#issuecomment-914260198
Why we change it:
1, From openGauss testing response, execute `SELECT * FROM pg_create_logical_replication_slot('slot'_name, 'test_decoding');` repeatedly will cause exception, and error code is different as PostgreSQL, so exception thrown will cause scaling task broken.
We'll check whether slot exists before create it, and drop slot when scaling task finished.
2, Keep slot after task finished, it will cost system resources unnecessaryly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org