e3: cleanup locality idx (#853)

This commit is contained in:
Alex Sharov 2023-01-26 10:41:29 +07:00 committed by GitHub
parent d31bb96c59
commit 98f907a7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -364,9 +364,6 @@ func (si *LocalityIterator) advance() {
} }
inFile := inStep / StepsInBiggestFile inFile := inStep / StepsInBiggestFile
if inFile > 64 {
panic("this index supports only up to 64 files")
}
if !bytes.Equal(key, si.key) { if !bytes.Equal(key, si.key) {
if si.key == nil { if si.key == nil {