Skip to content

Commit

Permalink
Merge branch 'master' into feature/msb-coverage-ii
Browse files Browse the repository at this point in the history
  • Loading branch information
davidporter-id-au committed Oct 30, 2024
2 parents fc2bb19 + 21b40bd commit ff1dc97
Show file tree
Hide file tree
Showing 148 changed files with 22,502 additions and 1,812 deletions.
428 changes: 428 additions & 0 deletions common/cache/domainCache_test.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions common/client/versionChecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:generate mockgen -package $GOPACKAGE -destination versionChecker_mock.go -self_package github.com/uber/cadence/common/client github.com/uber/cadence/common/client VersionChecker

package client

import (
Expand Down
89 changes: 44 additions & 45 deletions common/client/versionChecker_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions common/codec/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:generate mockgen -package $GOPACKAGE -destination interfaces_mock.go -self_package github.com/uber/cadence/common/codec github.com/uber/cadence/common/codec BinaryEncoder

package codec

import (
Expand Down
85 changes: 85 additions & 0 deletions common/codec/interfaces_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions common/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ type (
AdvancedVisibilityStore string `yaml:"advancedVisibilityStore"`
// HistoryMaxConns is the desired number of conns to history store. Value specified
// here overrides the MaxConns config specified as part of datastore
// Deprecated: This value is not used
HistoryMaxConns int `yaml:"historyMaxConns"`
// EnablePersistenceLatencyHistogramMetrics is to enable latency histogram metrics for persistence layer
EnablePersistenceLatencyHistogramMetrics bool `yaml:"enablePersistenceLatencyHistogramMetrics"`
Expand Down
9 changes: 6 additions & 3 deletions common/dynamicconfig/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ const (
// Value type: Int
// Default value: 10
// Allowed filters: N/A
// Deprecated: not used
FrontendHistoryMgrNumConns
// FrontendThrottledLogRPS is the rate limit on number of log messages emitted per second for throttled logger
// KeyName: frontend.throttledLogRPS
Expand Down Expand Up @@ -1064,12 +1065,14 @@ const (
// Value type: Int
// Default value: 50
// Allowed filters: N/A
// Deprecated: not used
ExecutionMgrNumConns
// HistoryMgrNumConns is persistence connections number for HistoryManager
// KeyName: history.historyMgrNumConns
// Value type: Int
// Default value: 50
// Allowed filters: N/A
// Deprecated: not used
HistoryMgrNumConns
// MaximumBufferedEventsBatch is max number of buffer event in mutable state
// KeyName: history.maximumBufferedEventsBatch
Expand Down Expand Up @@ -3130,7 +3133,7 @@ var IntKeys = map[IntKey]DynamicInt{
},
FrontendHistoryMgrNumConns: {
KeyName: "frontend.historyMgrNumConns",
Description: "FrontendHistoryMgrNumConns is for persistence cluster.NumConns",
Description: "Deprecated: not used. FrontendHistoryMgrNumConns is for persistence cluster.NumConns",
DefaultValue: 10,
},
FrontendThrottledLogRPS: {
Expand Down Expand Up @@ -3479,12 +3482,12 @@ var IntKeys = map[IntKey]DynamicInt{
},
ExecutionMgrNumConns: {
KeyName: "history.executionMgrNumConns",
Description: "ExecutionMgrNumConns is persistence connections number for ExecutionManager",
Description: "Deprecated: not used. ExecutionMgrNumConns is persistence connections number for ExecutionManager",
DefaultValue: 50,
},
HistoryMgrNumConns: {
KeyName: "history.historyMgrNumConns",
Description: "HistoryMgrNumConns is persistence connections number for HistoryManager",
Description: "Deprecated: not used. HistoryMgrNumConns is persistence connections number for HistoryManager",
DefaultValue: 50,
},
MaximumBufferedEventsBatch: {
Expand Down
1 change: 1 addition & 0 deletions common/persistence/client/bean.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ func (s *BeanImpl) Close() {
s.shardManager.Close()
s.historyManager.Close()
s.executionManagerFactory.Close()
s.configStoreManager.Close()
for _, executionMgr := range s.shardIDToExecutionManager {
executionMgr.Close()
}
Expand Down
Loading

0 comments on commit ff1dc97

Please sign in to comment.