View Issue Details

IDProjectCategoryView StatusLast Update
0004150SymmetricDSBugpublic2022-08-02 19:41
Reportermkurz Assigned To 
Prioritynormal 
Status confirmedResolutionopen 
Product Version3.10.5 
Summary0004150: The Channel_id of an outgoing_batch for a filesync reload is always filesync_reload, although it's overwritten
DescriptionExpectation: Defining a custom channel for filesync reloads and assign this channel in sym_file_trigger leads to an outgoing batch with the defined custom channel.

Observed: The outgoing batch always is in the channel filesync_reload, although the reload_channel_id of sym_file_snapshot shows the custom channel.

Reason: For sym_file_snapshot the channel is set to a constant in TriggerRouterService.java -> trigger.setReloadChannelId(Constants.CHANNEL_FILESYNC_RELOAD);

Is that a bug?
Steps To Reproduce
insert into sym_channel values('filesync_ini_reload', 1, 100, 100, 10000, 0, 1, 1, 1, 1, 1, 1, 0,'nontransactional', default, NULL, 'files', '0.000', NULL, NULL, NULL, NULL)

configure a file sync with
sym_file_trigger -> reload_channel_id = 'filesync_ini_reload'

sync a file and trigger a reload

look at:
select * from sym_outgoing_batch where channel_id like 'file%'
Tagsfile sync

Activities

mkurz

2019-11-21 10:51

reporter   ~0001640

The usage of the column seems to have no effect. I can do
update sym_file_trigger set reload_channel_id = 'banane'

and everything works fine, although there is no such channel 'banane'.

hanes

2019-11-21 15:22

developer   ~0001641

Confirmed. Change data capture honors the channel id, but the reload channel id on the file trigger is not honored when a reload is requested. Instead it defaults to filesync_reload. Note that the channel id's were indeed set with the appropriate booleans to reflect that the custom filesync reload channel is for reload and for filesync

Issue History

Date Modified Username Field Change
2019-11-20 09:48 mkurz New Issue
2019-11-21 10:51 mkurz Note Added: 0001640
2019-11-21 15:22 hanes Status new => confirmed
2019-11-21 15:22 hanes Note Added: 0001641
2022-08-02 19:41 elong Tag Attached: file sync