Commit abe9e9e
committed
[fix](tablet) fix stale_version_count() returning wrong value
stale_version_count() was incorrectly returning _rs_metas.size()
instead of _stale_rs_metas.size(), causing incorrect calculation
of total version count in places like rowset_builder.cpp and
push_handler.cpp where it's used as:
version_count() + stale_version_count()
This was effectively calculating version_count * 2 instead of
the intended total of active + stale versions.1 parent f926421 commit abe9e9e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | | - | |
| 769 | + | |
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| |||
0 commit comments