-
Notifications
You must be signed in to change notification settings - Fork 286
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
redo log: storage permission pre-check is need #6335
Comments
storage config also has not pre-check, for example, |
/assign @asddongmen |
/label affects-6.1 |
/label affects-6.5 |
What did you do?
When create changefeed with redo log storage config like this:
[consistent]
level = "eventual"
max-log-size = 1
storage = "nfs:///mnt/nfs/var/nfs"
But some cdc server have not this directory "/mnt/nfs/var/nfs", the behavior right now is : create changefeed can be successful, but later storage persimission deny: "[CDC:ErrRedoFileOp]redo file operation: open /mnt/nfs/var/nfs/172.16.6.46:8420_mysql-test1_meta.meta.mtmp: permission denied"
It's better if storage directory/permission is pre-checked before successfully creating changefeed.
What did you expect to see?
No response
What did you see instead?
As above
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):(paste TiDB cluster version here)
Upstream TiKV version (execute
tikv-server --version
):(paste TiKV version here)
TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: