mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 21:07:53 +00:00
fix hardcoded containers per rowshard
There are 16 containers in a row in a shard with the default shard width of 2^20, but since you can change the shard width at compile time, everything should be computed off that.
This commit is contained in:
parent
a4b1af2add
commit
90eb860b03
1 changed files with 1 additions and 1 deletions
|
|
@ -1214,7 +1214,7 @@ func getFirstRowAsContainers(citer ContainerIterator) []containerWithKey {
|
|||
citerContainers := make([]containerWithKey, 0)
|
||||
for citer.Next() {
|
||||
key, cont := citer.Value()
|
||||
if key > 15 {
|
||||
if key >= rowWidth {
|
||||
continue
|
||||
}
|
||||
citerContainers = append(citerContainers, containerWithKey{Container: cont, key: FilterKey(key)})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue