MCPcopy Create free account
hub / github.com/temporalio/temporal / UseSQLVisibility

Function UseSQLVisibility

tests/testcore/flag.go:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func UseSQLVisibility() bool {
26 switch cliFlags.persistenceDriver {
27 case mysql.PluginName, postgresql.PluginName, postgresql.PluginNamePGX, sqlite.PluginName:
28 return true
29 // If the main storage is Cassandra, Elasticsearch is used for visibility.
30 default:
31 return false
32 }
33}
34
35func UseCassandraPersistence() bool {
36 return cliFlags.persistenceType == config.StoreTypeNoSQL && cliFlags.persistenceDriver == "cassandra"

Callers 5

newTestEnvMethod · 0.92
TearDownClusterMethod · 0.85

Calls

no outgoing calls

Tested by 2

newTestEnvMethod · 0.74