chore(fs): add debug logging for case cache registry (#9869)

Clearly something is up with it, but I still have no clue what. This
might give some clue when affected user enable debug logging.
This commit is contained in:
Simon Frei 2024-12-16 12:04:24 +01:00 committed by GitHub
parent 99a6f3a5b6
commit ce3248cea7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,9 +89,13 @@ func (r *caseFilesystemRegistry) get(fs Filesystem) Filesystem {
r.startCleaner.Do(func() {
go r.cleaner()
})
l.Debugf("Created new case cache for key %v", k)
}
r.mut.Unlock()
}
if ok {
l.Debugf("Reusing case cache for key %v", k)
}
return &caseFilesystem{
Filesystem: fs,