You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For function MakeInputIterator() in version_set.cc
when call NewIterator(), the level parameters should be that which level *flevel->files[i].file_metadata belongs to. But the variable which is only the index. which value is 0, 1, 2,3..., it does not mean level number. The level number should be c->level(which)
Could you please check that? Is it my misunderstanding?
The text was updated successfully, but these errors were encountered:
It seems a dangerous typo, I looked deeper into the code to see how which (the level param) affects NewIterator, it seems currently, this param is not used in the following process.
For function
MakeInputIterator()
inversion_set.cc
when call
NewIterator()
, thelevel
parameters should be that which level*flevel->files[i].file_metadata
belongs to. But the variablewhich
is only the index.which
value is 0, 1, 2,3..., it does not mean level number. The level number should bec->level(which)
Could you please check that? Is it my misunderstanding?
The text was updated successfully, but these errors were encountered: