View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004150 | SymmetricDS | Bug | public | 2019-11-20 09:48 | 2022-08-02 19:41 |
Reporter | mkurz | Assigned To | |||
Priority | normal | ||||
Status | confirmed | Resolution | open | ||
Product Version | 3.10.5 | ||||
Summary | 0004150: The Channel_id of an outgoing_batch for a filesync reload is always filesync_reload, although it's overwritten | ||||
Description | Expectation: 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%' | ||||
Tags | file sync | ||||
|
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'. |
|
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 |