it's incorrect. as the underlying C implementation,
"osdmap_apply_incremental()", actually expects an instance of
`BasePyOSDMapIncrementalType`. which is mapped to
`BasePyOSDMapIncremental` in Python. and this class is wrapped using
`OSDMapIncremental` in mgr_module.py.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
7b2dd7eba4422338acd5e6d8e24f88114f8694e6)
def _get_crush_version(self): ...
def _dump(self):...
def _new_incremental(self):...
- def _apply_incremental(self, inc:int):...
+ def _apply_incremental(self, inc: 'BasePyOSDMapIncremental'):...
def _get_crush(self):...
def _get_pools_by_take(self, take):...
def _calc_pg_upmaps(self, inc, max_deviation, max_iterations, pool):...