Commit c530e6e7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ebbde8c2
......@@ -62,8 +62,8 @@ type oidCacheEntry struct {
// cached revisions in ascending order
// [i].serial < [i].before <= [i+1].serial < [i+1].before
//
// XXX ^^^ .serial = 0 while loading is in progress
// XXX ^^^ .serial = 0 if err != nil
// NOTE ^^^ .serial = 0 while loading is in progress
// NOTE ^^^ .serial = 0 if err != nil
//
// XXX or?
// cached revisions in descending order
......
......@@ -321,9 +321,9 @@ func TestCache(t *testing.T) {
checkLookup(xidlt(1,2), rce1_b4)
checkLookup(xidlt(1,1), rce1_b4)
// XXX verify db inconsistency checks
// XXX verify LRU eviction
// XXX loadSerial
// XXX verify db inconsistency checks
}
type Checker struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment