diff options
Diffstat (limited to 'include/framework/DynamicExtension.h')
| -rw-r--r-- | include/framework/DynamicExtension.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h index 48e270d..5917475 100644 --- a/include/framework/DynamicExtension.h +++ b/include/framework/DynamicExtension.h @@ -604,10 +604,8 @@ private: /* apply our updates to the copied structure (adding/removing shards) */ for (auto recon : reconstructions) { - auto grow = args->version->get_mutable_structure()->append_shard( - recon.new_shard, args->version->get_id(), recon.target_level); - args->version->get_mutable_structure()->delete_shards( - recon.source_shards); + auto grow = args->version->get_mutable_structure()->apply_reconstruction( + recon, args->version->get_id()); if (grow) { extension->m_lock_mngr.add_lock(); } |