Commit 3771fe3b authored by Julien Muchembled's avatar Julien Muchembled

storage: update DatabaseManager.getLastTID docstring

The explanation became wrong during a git-rebase, when it was decided
to keep the old code that drop partitions. The new one needs more work
and it is kept in a branch.
parent 66743daa
...@@ -325,9 +325,10 @@ class DatabaseManager(object): ...@@ -325,9 +325,10 @@ class DatabaseManager(object):
max_tid must be in unpacked format. max_tid must be in unpacked format.
Data from unassigned partitions must be ignored. Data from unassigned partitions must be ignored.
This is important because there may remain data from cells that are This is important because there may remain data from cells that have
being discarded (which is done in background because this is an been discarded, either due to --disable-drop-partitions option,
expensive operation). or in the future when dropping partitions is done in background
(because this is an expensive operation).
XXX: Given the TODO comment in getLastIDs, getting ids XXX: Given the TODO comment in getLastIDs, getting ids
from readable partitions should be enough. from readable partitions should be enough.
......
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