重新分片 Cadence 集群:最新版本的 Cadence 允许在 numHistoryShards 不同时进行 XDC 复制?

Re-sharding a Cadence cluster: What is the latest version of cadence allows XDC replications when numHistoryShards are different?

我正在尝试使用 provided guidance by creating a new cluster with a number of higher number of shards and then enabling XDC . What's the latest version of Cadence that isn't effected by the Allow CrossDC to replicate between clusters with different numbOfShards 错误重新分片我的 Cadence 集群?

有没有办法确定现有域是否已注册为全局域?

这个错误仍然存​​在,我们正在努力解决。当我们修复它时,我会回来更新这个答案。

错误是 fixed,将在下一个版本中解决。

要判断一个域是否是全局域,您可以使用 CLI 来描述域集群列表(它也可能显示在 WebUI 上)

cadence --do samples-domain-global d desc
Name: samples-domain-global
UUID: 5ac45494-581f-4a86-890f-007bcab7feea
Description:
OwnerEmail:
DomainData: map[]
Status: REGISTERED
RetentionInDays: 3
EmitMetrics: true
ActiveClusterName: primary
Clusters: primary, secondary

但是,如果您的全局域仅在一个集群中注册,我们最近在此 issue 中对其进行了改进,以包含一个新字段 IsGlobal(XDC)Domain。更改已合并到 master 但尚未发布。您可以使用 docker 运行 使用它:

  1. 通过docker pull ubercadence/cli:master

    更新docker图像
  2. 运行 命令

docker run --rm ubercadence/cli:master  --address  host.docker.internal:7933 --do samples-domain d desc
Name: samples-domain
UUID: ccd3fd09-b74b-41a6-8e2e-eff120e99772
Description:
OwnerEmail:
DomainData: map[]
Status: REGISTERED
RetentionInDays: 0
EmitMetrics: true
IsGlobal(XDC)Domain: false
ActiveClusterName: active
Clusters: N/A, Not a global domain
...