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

Shoveler does not start with one corrupted file #13

Open
biozit opened this issue Jan 11, 2023 · 3 comments
Open

Shoveler does not start with one corrupted file #13

biozit opened this issue Jan 11, 2023 · 3 comments

Comments

@biozit
Copy link
Contributor

biozit commented Jan 11, 2023

PANIC[2023-01-11T09:37:00-08:00] Failed to create queue: unable to create segment for /tmp/shoveler-queue: unable to load queue segment in /tmp/shoveler-queue: segment file /tmp/shoveler-queue/0000000006497.dque is corrupted: error reading gob data from file: unexpected EOF

How about ignoring the corrupted file?

@biozit
Copy link
Contributor Author

biozit commented Feb 13, 2023

file /tmp/shoveler-queue/0000000004553.dque is corrupted: error reading object length (read 2/4 bytes): unexpected EOF 
panic: (*logrus.Entry) 0xc0003ce070

goroutine 1 [running]:
github.com/sirupsen/logrus.(*Entry).log(0xc0003ce000, 0x0, 0xc0005d07e0, 0x102)
	/root/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:259 +0x2ba
github.com/sirupsen/logrus.(*Entry).Log(0xc0003ce000, 0x0, 0xc000119bb8, 0x1, 0x1)
	/root/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:293 +0x86
github.com/sirupsen/logrus.(*Entry).Logln(0xc0003ce000, 0xc000000000, 0xc000119c90, 0x2, 0x2)
	/root/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:383 +0xd6
github.com/sirupsen/logrus.(*Logger).Logln(0xc0000c8000, 0x0, 0xc000119c90, 0x2, 0x2)
	/root/go/pkg/mod/github.com/sirupsen/[email protected]/logger.go:292 +0x7e
github.com/sirupsen/logrus.(*Logger).Panicln(...)
	/root/go/pkg/mod/github.com/sirupsen/[email protected]/logger.go:333
github.com/sirupsen/logrus.Panicln(...)
	/root/go/pkg/mod/github.com/sirupsen/[email protected]/exported.go:264
main.(*ConfirmationQueue).Init(0xc0002008d0, 0xc0002008d0)
	/root/shoveler/xrootd-monitoring-shoveler/queue.go:54 +0x218
main.NewConfirmationQueue(...)
	/root/shoveler/xrootd-monitoring-shoveler/queue.go:34
main.main()
	/root/shoveler/xrootd-monitoring-shoveler/main.go:39 +0x2a5
[1350] root@redirector /tmp/shoveler-queue# ls -lha /tmp/shoveler-queue/0000000004553.dque 
-rw-r--r--. 1 root root 3.0M Feb 10 18:26 /tmp/shoveler-queue/0000000004553.dque

@biozit
Copy link
Contributor Author

biozit commented Mar 8, 2024

@djw8605 :-)

@djw8605
Copy link
Member

djw8605 commented Mar 8, 2024

Are you still seeing this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants