@@ -1034,72 +1034,6 @@ const (
1034
1034
// Default value: 10000
1035
1035
// Allowed filters: N/A
1036
1036
TransferProcessorMaxRedispatchQueueSize
1037
- // CrossClusterTaskBatchSize is the batch size for loading cross cluster tasks from persistence in crossClusterQueueProcessor
1038
- // KeyName: history.crossClusterTaskBatchSize
1039
- // Value type: Int
1040
- // Default value: 100
1041
- // Allowed filters: N/A
1042
- CrossClusterTaskBatchSize
1043
- // CrossClusterTaskDeleteBatchSize is the batch size for deleting cross cluster tasks from persistence in crossClusterQueueProcessor
1044
- // KeyName: history.crossClusterTaskDeleteBatchSize
1045
- // Value type: Int
1046
- // Default value: 4000
1047
- // Allowed filters: N/A
1048
- CrossClusterTaskDeleteBatchSize
1049
- // CrossClusterTaskFetchBatchSize is batch size for dispatching cross cluster tasks to target cluster in crossClusterQueueProcessor
1050
- // KeyName: history.crossClusterTaskFetchBatchSize
1051
- // Value type: Int
1052
- // Default value: 100
1053
- // Allowed filters: ShardID
1054
- CrossClusterTaskFetchBatchSize
1055
- // CrossClusterSourceProcessorMaxPollRPS is max poll rate per second for crossClusterQueueProcessor
1056
- // KeyName: history.crossClusterProcessorMaxPollRPS
1057
- // Value type: Int
1058
- // Default value: 20
1059
- // Allowed filters: N/A
1060
- CrossClusterSourceProcessorMaxPollRPS
1061
- // CrossClusterSourceProcessorCompleteTaskFailureRetryCount is times of retry for failure
1062
- // KeyName: history.crossClusterProcessorCompleteTaskFailureRetryCount
1063
- // Value type: Int
1064
- // Default value: 10
1065
- // Allowed filters: N/A
1066
- CrossClusterSourceProcessorCompleteTaskFailureRetryCount // TODO
1067
- // CrossClusterSourceProcessorMaxRedispatchQueueSize is the threshold of the number of tasks in the redispatch queue for crossClusterQueueProcessor
1068
- // KeyName: history.crossClusterProcessorMaxRedispatchQueueSize
1069
- // Value type: Int
1070
- // Default value: 10000
1071
- // Allowed filters: N/A
1072
- CrossClusterSourceProcessorMaxRedispatchQueueSize
1073
- // CrossClusterSourceProcessorMaxPendingTaskSize is the threshold of the number of ready for polling tasks in crossClusterQueueProcessor,
1074
- // task loading will be stopped when the number is reached
1075
- // KeyName: history.crossClusterSourceProcessorMaxPendingTaskSize
1076
- // Value type: Int
1077
- // Default value: 500
1078
- // Allowed filters: N/A
1079
- CrossClusterSourceProcessorMaxPendingTaskSize
1080
-
1081
- // CrossClusterTargetProcessorMaxPendingTasks is the max number of pending tasks in cross cluster task processor
1082
- // note there's one cross cluster task processor per shard per source cluster
1083
- // KeyName: history.crossClusterTargetProcessorMaxPendingTasks
1084
- // Value type: Int
1085
- // Default value: 200
1086
- // Allowed filters: N/A
1087
- CrossClusterTargetProcessorMaxPendingTasks
1088
- // CrossClusterTargetProcessorMaxRetryCount is the max number of retries when executing a cross-cluster task in target cluster
1089
- // KeyName: history.crossClusterTargetProcessorMaxRetryCount
1090
- // Value type: Int
1091
- // Default value: 20
1092
- // Allowed filters: N/A
1093
- CrossClusterTargetProcessorMaxRetryCount
1094
-
1095
- // CrossClusterFetcherParallelism is the number of go routines each cross cluster fetcher use
1096
- // note there's one cross cluster task fetcher per host per source cluster
1097
- // KeyName: history.crossClusterFetcherParallelism
1098
- // Value type: Int
1099
- // Default value: 1
1100
- // Allowed filters: N/A
1101
- CrossClusterFetcherParallelism
1102
-
1103
1037
// ReplicatorTaskBatchSize is batch size for ReplicatorProcessor
1104
1038
// KeyName: history.replicatorTaskBatchSize
1105
1039
// Value type: Int
@@ -1802,13 +1736,6 @@ const (
1802
1736
// Default value: false
1803
1737
// Allowed filters: DomainName
1804
1738
EnableContextHeaderInVisibility
1805
- // EnableCrossClusterEngine is used as an overall switch for the cross-cluster feature, a feature which, if not enabled
1806
- // can be quite expensive in terms of resources
1807
- // KeyName: history.enableCrossClusterEngine
1808
- // Value type: Bool
1809
- // Default value: false
1810
- // Allowed filters: DomainName
1811
- EnableCrossClusterEngine
1812
1739
// EnableCrossClusterOperationsForDomain indicates if cross cluster operations can be scheduled for a domain
1813
1740
// KeyName: history.enableCrossClusterOperations
1814
1741
// Value type: Bool
@@ -2236,30 +2163,6 @@ const (
2236
2163
// Default value: 0.15
2237
2164
// Allowed filters: N/A
2238
2165
TransferProcessorUpdateAckIntervalJitterCoefficient
2239
- // CrossClusterSourceProcessorMaxPollIntervalJitterCoefficient is the max poll interval jitter coefficient
2240
- // KeyName: history.crossClusterProcessorMaxPollIntervalJitterCoefficient
2241
- // Value type: Float64
2242
- // Default value: 0.15
2243
- // Allowed filters: N/A
2244
- CrossClusterSourceProcessorMaxPollIntervalJitterCoefficient
2245
- // CrossClusterSourceProcessorUpdateAckIntervalJitterCoefficient is the update interval jitter coefficient
2246
- // KeyName: history.crossClusterProcessorUpdateAckIntervalJitterCoefficient
2247
- // Value type: Float64
2248
- // Default value: 0.15
2249
- // Allowed filters: N/A
2250
- CrossClusterSourceProcessorUpdateAckIntervalJitterCoefficient
2251
- // CrossClusterTargetProcessorJitterCoefficient is the jitter coefficient used in cross cluster task processor
2252
- // KeyName: history.crossClusterTargetProcessorJitterCoefficient
2253
- // Value type: Float64
2254
- // Default value: 0.15
2255
- // Allowed filters: N/A
2256
- CrossClusterTargetProcessorJitterCoefficient
2257
- // CrossClusterFetcherJitterCoefficient is the jitter coefficient used in cross cluster task fetcher
2258
- // KeyName: history.crossClusterFetcherJitterCoefficient
2259
- // Value type: Float64
2260
- // Default value: 0.15
2261
- // Allowed filters: N/A
2262
- CrossClusterFetcherJitterCoefficient
2263
2166
// ReplicationTaskProcessorCleanupJitterCoefficient is the jitter for cleanup timer
2264
2167
// KeyName: history.ReplicationTaskProcessorCleanupJitterCoefficient
2265
2168
// Value type: Float64
@@ -2676,51 +2579,6 @@ const (
2676
2579
// Default value: 400ms (400*time.Millisecond)
2677
2580
// Allowed filters: N/A
2678
2581
TransferProcessorVisibilityArchivalTimeLimit
2679
- // CrossClusterSourceProcessorMaxPollInterval is max poll interval for crossClusterQueueProcessor
2680
- // KeyName: history.crossClusterProcessorMaxPollInterval
2681
- // Value type: Duration
2682
- // Default value: 1m (1*time.Minute)
2683
- // Allowed filters: N/A
2684
- CrossClusterSourceProcessorMaxPollInterval
2685
- // CrossClusterSourceProcessorUpdateAckInterval is update interval for crossClusterQueueProcessor
2686
- // KeyName: history.crossClusterProcessorUpdateAckInterval
2687
- // Value type: Duration
2688
- // Default value: 30s (30*time.Second)
2689
- // Allowed filters: N/A
2690
- CrossClusterSourceProcessorUpdateAckInterval
2691
- // CrossClusterTargetProcessorTaskWaitInterval is the duration for waiting a cross-cluster task response before responding to source
2692
- // KeyName: history.crossClusterTargetProcessorTaskWaitInterval
2693
- // Value type: Duration
2694
- // Default value: 3s (3*time.Second)
2695
- // Allowed filters: N/A
2696
- CrossClusterTargetProcessorTaskWaitInterval
2697
- // CrossClusterTargetProcessorServiceBusyBackoffInterval is the backoff duration for cross cluster task processor when getting
2698
- // a service busy error when calling source cluster
2699
- // KeyName: history.crossClusterTargetProcessorServiceBusyBackoffInterval
2700
- // Value type: Duration
2701
- // Default value: 5s (5*time.Second)
2702
- // Allowed filters: N/A
2703
- CrossClusterTargetProcessorServiceBusyBackoffInterval
2704
- // CrossClusterFetcherAggregationInterval determines how frequently the fetch requests are sent
2705
- // KeyName: history.crossClusterFetcherAggregationInterval
2706
- // Value type: Duration
2707
- // Default value: 2s (2*time.Second)
2708
- // Allowed filters: N/A
2709
- CrossClusterFetcherAggregationInterval
2710
- // CrossClusterFetcherServiceBusyBackoffInterval is the backoff duration for cross cluster task fetcher when getting
2711
- // a service busy error when calling source cluster
2712
- // KeyName: history.crossClusterFetcherServiceBusyBackoffInterval
2713
- // Value type: Duration
2714
- // Default value: 5s (5*time.Second)
2715
- // Allowed filters: N/A
2716
- CrossClusterFetcherServiceBusyBackoffInterval
2717
- // CrossClusterFetcherServiceBusyBackoffInterval is the backoff duration for cross cluster task fetcher when getting
2718
- // a non-service busy error when calling source cluster
2719
- // KeyName: history.crossClusterFetcherErrorBackoffInterval
2720
- // Value type: Duration
2721
- // Default value: 1s (time.Second)
2722
- // Allowed filters: N/A
2723
- CrossClusterFetcherErrorBackoffInterval
2724
2582
// ReplicatorUpperLatency indicates the max allowed replication latency between clusters
2725
2583
// KeyName: history.replicatorUpperLatency
2726
2584
// Value type: Duration
@@ -3593,57 +3451,6 @@ var IntKeys = map[IntKey]DynamicInt{
3593
3451
Description : "TransferProcessorMaxRedispatchQueueSize is the threshold of the number of tasks in the redispatch queue for transferQueueProcessor" ,
3594
3452
DefaultValue : 10000 ,
3595
3453
},
3596
- CrossClusterTaskBatchSize : {
3597
- KeyName : "history.crossClusterTaskBatchSize" ,
3598
- Description : "CrossClusterTaskBatchSize is the batch size for loading cross cluster tasks from persistence in crossClusterQueueProcessor" ,
3599
- DefaultValue : 100 ,
3600
- },
3601
- CrossClusterTaskDeleteBatchSize : {
3602
- KeyName : "history.crossClusterTaskDeleteBatchSize" ,
3603
- Description : "CrossClusterTaskDeleteBatchSize is the batch size for deleting cross cluster tasks from persistence in crossClusterQueueProcessor" ,
3604
- DefaultValue : 4000 ,
3605
- },
3606
- CrossClusterTaskFetchBatchSize : {
3607
- KeyName : "history.crossClusterTaskFetchBatchSize" ,
3608
- Filters : []Filter {ShardID },
3609
- Description : "CrossClusterTaskFetchBatchSize is batch size for dispatching cross cluster tasks to target cluster in crossClusterQueueProcessor" ,
3610
- DefaultValue : 100 ,
3611
- },
3612
- CrossClusterSourceProcessorMaxPollRPS : {
3613
- KeyName : "history.crossClusterSourceProcessorMaxPollRPS" ,
3614
- Description : "CrossClusterSourceProcessorMaxPollRPS is max poll rate per second for crossClusterQueueProcessor" ,
3615
- DefaultValue : 20 ,
3616
- },
3617
- CrossClusterSourceProcessorCompleteTaskFailureRetryCount : {
3618
- KeyName : "history.crossClusterSourceProcessorCompleteTaskFailureRetryCount" ,
3619
- Description : "CrossClusterSourceProcessorCompleteTaskFailureRetryCount is times of retry for failure" ,
3620
- DefaultValue : 10 ,
3621
- },
3622
- CrossClusterSourceProcessorMaxRedispatchQueueSize : {
3623
- KeyName : "history.crossClusterSourceProcessorMaxRedispatchQueueSize" ,
3624
- Description : "CrossClusterSourceProcessorMaxRedispatchQueueSize is the threshold of the number of tasks in the redispatch queue for crossClusterQueueProcessor" ,
3625
- DefaultValue : 10000 ,
3626
- },
3627
- CrossClusterSourceProcessorMaxPendingTaskSize : {
3628
- KeyName : "history.crossClusterSourceProcessorMaxPendingTaskSize" ,
3629
- Description : "CrossClusterSourceProcessorMaxPendingTaskSize is the threshold of the number of ready for polling tasks in crossClusterQueueProcessor, task loading will be stopped when the number is reached" ,
3630
- DefaultValue : 500 ,
3631
- },
3632
- CrossClusterTargetProcessorMaxPendingTasks : {
3633
- KeyName : "history.crossClusterTargetProcessorMaxPendingTasks" ,
3634
- Description : "CrossClusterTargetProcessorMaxPendingTasks is the max number of pending tasks in cross cluster task processor" ,
3635
- DefaultValue : 200 ,
3636
- },
3637
- CrossClusterTargetProcessorMaxRetryCount : {
3638
- KeyName : "history.crossClusterTargetProcessorMaxRetryCount" ,
3639
- Description : "CrossClusterTargetProcessorMaxRetryCount is the max number of retries when executing a cross-cluster task in target cluster" ,
3640
- DefaultValue : 20 ,
3641
- },
3642
- CrossClusterFetcherParallelism : {
3643
- KeyName : "history.crossClusterFetcherParallelism" ,
3644
- Description : "CrossClusterFetcherParallelism is the number of go routines each cross cluster fetcher use, note there's one cross cluster task fetcher per host per source cluster" ,
3645
- DefaultValue : 1 ,
3646
- },
3647
3454
ReplicatorTaskBatchSize : {
3648
3455
KeyName : "history.replicatorTaskBatchSize" ,
3649
3456
Description : "ReplicatorTaskBatchSize is batch size for ReplicatorProcessor" ,
@@ -4269,11 +4076,6 @@ var BoolKeys = map[BoolKey]DynamicBool{
4269
4076
Description : "EnableContextHeaderInVisibility is key for enable context header in visibility" ,
4270
4077
DefaultValue : false ,
4271
4078
},
4272
- EnableCrossClusterEngine : {
4273
- KeyName : "history.enableCrossClusterEngine" ,
4274
- Description : "an overall toggle for the cross-cluster domain feature" ,
4275
- DefaultValue : false ,
4276
- },
4277
4079
EnableCrossClusterOperationsForDomain : {
4278
4080
KeyName : "history.enableCrossClusterOperations" ,
4279
4081
Filters : []Filter {DomainName },
@@ -4640,26 +4442,6 @@ var FloatKeys = map[FloatKey]DynamicFloat{
4640
4442
Description : "TransferProcessorUpdateAckIntervalJitterCoefficient is the update interval jitter coefficient" ,
4641
4443
DefaultValue : 0.15 ,
4642
4444
},
4643
- CrossClusterSourceProcessorMaxPollIntervalJitterCoefficient : {
4644
- KeyName : "history.crossClusterSourceProcessorMaxPollIntervalJitterCoefficient" ,
4645
- Description : "CrossClusterSourceProcessorMaxPollIntervalJitterCoefficient is the max poll interval jitter coefficient" ,
4646
- DefaultValue : 0.15 ,
4647
- },
4648
- CrossClusterSourceProcessorUpdateAckIntervalJitterCoefficient : {
4649
- KeyName : "history.crossClusterSourceProcessorUpdateAckIntervalJitterCoefficient" ,
4650
- Description : "CrossClusterSourceProcessorUpdateAckIntervalJitterCoefficient is the update interval jitter coefficient" ,
4651
- DefaultValue : 0.15 ,
4652
- },
4653
- CrossClusterTargetProcessorJitterCoefficient : {
4654
- KeyName : "history.crossClusterTargetProcessorJitterCoefficient" ,
4655
- Description : "CrossClusterTargetProcessorJitterCoefficient is the jitter coefficient used in cross cluster task processor" ,
4656
- DefaultValue : 0.15 ,
4657
- },
4658
- CrossClusterFetcherJitterCoefficient : {
4659
- KeyName : "history.crossClusterFetcherJitterCoefficient" ,
4660
- Description : "CrossClusterFetcherJitterCoefficient is the jitter coefficient used in cross cluster task fetcher" ,
4661
- DefaultValue : 0.15 ,
4662
- },
4663
4445
ReplicationTaskProcessorCleanupJitterCoefficient : {
4664
4446
KeyName : "history.ReplicationTaskProcessorCleanupJitterCoefficient" ,
4665
4447
Filters : []Filter {ShardID },
@@ -5034,41 +4816,6 @@ var DurationKeys = map[DurationKey]DynamicDuration{
5034
4816
Description : "TransferProcessorVisibilityArchivalTimeLimit is the upper time limit for archiving visibility records" ,
5035
4817
DefaultValue : time .Millisecond * 400 ,
5036
4818
},
5037
- CrossClusterSourceProcessorMaxPollInterval : {
5038
- KeyName : "history.crossClusterSourceProcessorMaxPollInterval" ,
5039
- Description : "CrossClusterSourceProcessorMaxPollInterval is max poll interval for crossClusterQueueProcessor" ,
5040
- DefaultValue : time .Minute ,
5041
- },
5042
- CrossClusterSourceProcessorUpdateAckInterval : {
5043
- KeyName : "history.crossClusterSourceProcessorUpdateAckInterval" ,
5044
- Description : "CrossClusterSourceProcessorUpdateAckInterval is update interval for crossClusterQueueProcessor" ,
5045
- DefaultValue : time .Second * 30 ,
5046
- },
5047
- CrossClusterTargetProcessorTaskWaitInterval : {
5048
- KeyName : "history.crossClusterTargetProcessorTaskWaitInterval" ,
5049
- Description : "CrossClusterTargetProcessorTaskWaitInterval is the duration for waiting a cross-cluster task response before responding to source" ,
5050
- DefaultValue : time .Second * 3 ,
5051
- },
5052
- CrossClusterTargetProcessorServiceBusyBackoffInterval : {
5053
- KeyName : "history.crossClusterTargetProcessorServiceBusyBackoffInterval" ,
5054
- Description : "CrossClusterTargetProcessorServiceBusyBackoffInterval is the backoff duration for cross cluster task processor when getting a service busy error when calling source cluster" ,
5055
- DefaultValue : time .Second * 5 ,
5056
- },
5057
- CrossClusterFetcherAggregationInterval : {
5058
- KeyName : "history.crossClusterFetcherAggregationInterval" ,
5059
- Description : "CrossClusterFetcherAggregationInterval determines how frequently the fetch requests are sent" ,
5060
- DefaultValue : time .Second * 2 ,
5061
- },
5062
- CrossClusterFetcherServiceBusyBackoffInterval : {
5063
- KeyName : "history.crossClusterFetcherServiceBusyBackoffInterval" ,
5064
- Description : "CrossClusterFetcherServiceBusyBackoffInterval is the backoff duration for cross cluster task fetcher when getting" ,
5065
- DefaultValue : time .Second * 5 ,
5066
- },
5067
- CrossClusterFetcherErrorBackoffInterval : {
5068
- KeyName : "history.crossClusterFetcherErrorBackoffInterval" ,
5069
- Description : "" ,
5070
- DefaultValue : time .Second ,
5071
- },
5072
4819
ReplicatorUpperLatency : {
5073
4820
KeyName : "history.replicatorUpperLatency" ,
5074
4821
Description : "ReplicatorUpperLatency indicates the max allowed replication latency between clusters" ,
0 commit comments