Skip to content
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

TiCDC doesn't report any error when log disk is full #3362

Closed
sleepymole opened this issue Nov 10, 2021 · 2 comments
Closed

TiCDC doesn't report any error when log disk is full #3362

sleepymole opened this issue Nov 10, 2021 · 2 comments
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@sleepymole
Copy link
Contributor

sleepymole commented Nov 10, 2021

What did you do?

  1. Use tiup playground to deploy cluster with one TiCDC.
tiup --tag cdc-test playground --tiflash 0  --ticdc 1 v4.0.14
  1. Stop cluster and enter the data directory.
cd .tiup/data/cdc-test
mv ticdc-0/ticdc.log .
mount -t tmpfs -o size=1M tmpfs ticdc-0
mv ticdc.log ticdc-0/ 
dd if=/dev/zero of=ticdc-0/zero  # should output "dd: writing to 'ticdc-0/zero': No space left on device"
  1. Restart the cluster for several times.

What did you expect to see?

Every time I restart the cluster, some new log like "Welcome xxx" should be outputted to the log file or report some error on stdout or stderr.

What did you see instead?

After a few attempts, log file doesn't update any more and there is no error report on stdout or stderr.

Versions of the cluster

v4.0.14 (I think it probably exists in all versions, but I only tested it with v4.0.14)

@sleepymole sleepymole added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Nov 10, 2021
@sleepymole
Copy link
Contributor Author

sleepymole commented Nov 10, 2021

@overvenus
Copy link
Member

fixed by #3778

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants