As of yesterday it looks like there was some conditional logic added to the scanDir() method of the diskCache struct. This conditional checks whether or not the directories name is equal to a few different values; please see here.
This has caused the remote cache in our environment to go into crashloop after the scanDir method encounters the lost+found directory on the linux host, this directory is created by fsck on our ext4 filesystem and will always be recreated even if deleted.
e.g.
2022/09/26 16:54:35 Scanning cache directory with 16 goroutines
2022/09/26 16:54:35 Failed to scan cache dir: Unexpected dir: lost+found
2022/09/26 16:54:35 Loading of existing cache entries failed due to error: Unexpected dir: lost+found
As of yesterday it looks like there was some conditional logic added to the scanDir() method of the diskCache struct. This conditional checks whether or not the directories name is equal to a few different values; please see here.
This has caused the remote cache in our environment to go into crashloop after the scanDir method encounters the
lost+found
directory on the linux host, this directory is created by fsck on our ext4 filesystem and will always be recreated even if deleted.e.g.