Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afcef4245b | ||
|
|
e7515e50ee |
@@ -256,10 +256,10 @@ Each look also drops the rows of variants whose files are missing. When pixa
|
||||
cannot read a variant file's size for another reason, it keeps the variant's
|
||||
row. It logs a warning naming the variant key and the error.
|
||||
|
||||
During a look, pixa skips any file or directory in the cache that it cannot
|
||||
read. It logs a warning naming the path and the error, and goes on with the rest
|
||||
of the look. A file renamed or removed after pixa listed its directory gets no
|
||||
warning.
|
||||
During a look, pixa skips a directory it cannot list and a file whose size it
|
||||
cannot read. It logs a warning naming the path and the error, and goes on with
|
||||
the rest of the look. A file renamed or removed after pixa listed its directory
|
||||
gets no warning.
|
||||
|
||||
pixa's target is 1-5k r/s, which has not been measured at that rate (see Load
|
||||
Test). Toward it, a cache hit opens the variant's file and nothing else, and
|
||||
|
||||
@@ -948,11 +948,11 @@ func TestReconciliationGoesOnPastEntriesItCannotRead(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestReconciliationWarnsOfTempFilesItCannotRead puts, in each storage
|
||||
// directory, a temp file whose info the pass cannot read. The pass must
|
||||
// log a warning naming each one's path and the error, as it does for any
|
||||
// other file whose info it cannot read.
|
||||
func TestReconciliationWarnsOfTempFilesItCannotRead(t *testing.T) {
|
||||
// TestReconciliationWarnsOfTempFilesWhoseInfoItCannotRead puts, in each
|
||||
// storage directory, a temp file whose info the pass cannot read. The
|
||||
// pass must log a warning naming each one's path and the error, as it
|
||||
// does for any other file whose info it cannot read.
|
||||
func TestReconciliationWarnsOfTempFilesWhoseInfoItCannotRead(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
cache, _ := newEvictionTestCache(t, 1<<30)
|
||||
|
||||
Reference in New Issue
Block a user