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