Симметричные sym_outgoing_batch.node_id=-1
Есть два пакетных сообщения в sym_outgoing_batch
и один из node_id
является 000
(Corp) другой -1
(что это означает -1?), когда я перетаскиваю много данных из хранилища в корп. Часть данных успешно маршрутизируется своевременно, а другая задерживается. Сообщение выглядит следующим образом:
и файл конфигурации выглядит следующим образом:
insert into sym_channel(channel_id, processing_order, max_batch_size, enabled, description)
values('sale_channel', 1, 1000000, 1, 'sale data from store to corp');
insert into sym_trigger(trigger_id, source_table_name, channel_id, last_update_time, create_time)
values('sale_pay_triger', 'D_T_BILL_PAY', 'sale_channel', current_timestamp, current_timestamp);
insert into sym_router(router_id, source_node_group_id, target_node_group_id, router_type,router_expression, create_time, last_update_time)
values('store_2_corp_sheftnotnull', 'store', 'corp', 'bsh', 'CSHIFT_C!=null && !CSHIFT_C.equals("")',current_timestamp, current_timestamp);
insert into sym_trigger_router(trigger_id, router_id, initial_load_order, last_update_time, create_time)
values('sale_pay_triger', 'store_2_corp_sheftnotnull', 1, current_timestamp, current_timestamp);
insert into SYM_CONFLICT(CONFLICT_ID,SOURCE_NODE_GROUP_ID,TARGET_NODE_GROUP_ID,DETECT_TYPE,RESOLVE_TYPE,PING_BACK,CREATE_TIME,LAST_UPDATE_TIME)
values('conflict_fallback', 'corp', 'store', 'USE_PK_DATA', 'FALLBACK', 'OFF', current_timestamp, current_timestamp);
commit;
1 ответ
Решение
Если вы спрашиваете, что означает node_id со значением -1. Это означает, что данные были перенаправлены. Не было ни одного узла, отвечающего условию маршрутизации.