conductor cluster server decision处理冲突解决方法
admin
2024-03-17 00:35:28

本文没有进行测试,只是根据文档进行分析记录:

主要方式有
1、使用localOnly
2、 使用不同conductor.redis.queueNamespacePrefix
3、使用lock,注意3.8开始不支持zookeeper lock,即只能使用redis lock,redis lock支持sentinel 和single node两种模式。

localOnly

Considering a situation where a conductor instance goes down: * With local-only strategy, the workflow executions from failed conductor instance will not progress until:
The conductor instance is restarted or
The executions are manually terminated and restarted from a different node
With round-robin strategy, there is a chance the tasks will be rescheduled on a different conductor node

配置

workflow.dyno.queue.sharding.strategy=localOnly

相关内容

热门资讯

摸鱼、钓虾、吃瓜、赏荷…初夏时... 这个周末,一场场充满野趣的“田园嘉年华”在沪郊金山多个农场上演,吸引众多市民带着孩子下乡来,赛跑、吃...
原创 戚... 5月28日,北京环球影城迎来了一对温暖的家庭画面:戚薇和李承铉携三岁半的儿子Seven现身游玩。现场...
滹沱河畔 遇见“诗和远方” 图为市民在滹沱河畔休闲娱乐。 初夏五月,惠风和畅。徜徉在石家庄滹沱河生态区(城区段),澄澈河水蜿蜒...
在迪士尼排队两小时,我才看清V... 文丨沈理 在网上看到一则新闻: 上海迪士尼,创极速光轮排队区。一个父亲牵着七八岁的儿子,已经在烈日...
重庆文旅喊你去吃火锅、观山水、... 本网讯(草原云·正北方网记者 马丽侠)火锅、机车、文创、演艺……5月28日下午,重庆市文化和旅游发展...