Commit 4f92bcbc authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent da4b8716
......@@ -5,9 +5,9 @@
{# XXX error(slave, msg) #}
{# cell_dict keeps cell slave instances: reference -> cell #}
{# ru_dict keeps RU slave instances: reference -> ru #}
{% set cell_dict = {} %}
{% set ru_dict = {} %}
{# ru_dict keeps RU slave instances: reference -> RU #}
{% set cell_dict = {} %}
{% set ru_dict = {} %}
{%- for slave in slave_instance_list %}
{# ref is original reference used to request shared instance.
it is extracted from slave_reference who is composed as `partition_id`+'_'+`reference` #}
......@@ -30,15 +30,7 @@
{%- endif %}
{%- endfor %}
{# verify that there is no dangling ru_ref and ruincell_ref #}
{%- set cell_list = [] %}
{%- for slave in slave_instance_list %}
{%- set slave_parameters = json_module.loads(slave['_']) %}
{%- if slave_parameters.get('cell_type', '') != '' %}
{%- do cell_list.append(slave) %}
{%- endif %}
{%- endfor %}
{# verify that there is no dangling ru_ref and ruincell_ref #} XXX + resolve those ru*_ref
......
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