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

相关内容

热门资讯

2025海上丝绸之路城市合作发... 11月18日至20日,以“融创融汇 合作共赢”为主题的2025海上丝绸之路城市合作发展大会暨国际旅行...
洛福敦群岛:挪威北极光下的世外... 挪威的洛福敦群岛,犹如一颗镶嵌在北极圈内的璀璨明珠,以其壮丽的自然景观和神秘的极光闻名于世。这里的雪...
“只有河南”景区无烟化管理获游... 近日,有网友在社交平台发帖称,去过“只有河南·戏剧幻城”(以下简称“只有河南”)后才发现景区禁烟保持...
四川TOP100餐厅出炉!成都... 🔥你知道吗?四川美食又上热搜了!最近高德扫街榜发布‘烟火四川’榜单,成都直接拿下58家餐厅,乐山小吃...
原创 奶... 走在2025年的城市街头,奶茶店看着比以前还琳琅满目。 高端商场里的连锁品牌、社区小巷的小众门店,几...