Hi everyone,
We are having an issue with not getting any workflows to show up when running tctl wf la
We have activated archival and visibility records for completed status are getting into the archival bucket but there are no records in ElasticSearch for running workflows.
tctl wf show [workflowId]
works fine though.
It seems like nothing is being written to ElasticSearch either.
A query to /_cat/indices?v on Elastic shows that docs.count and docs.deleted are both 0 for the temporal_visibility_v1_dev index.
We are currently running version 1.17.1 of temporal-server.
Does anyone know what could be wrong or have any good pointer on how to troubleshoot this?
ElasticSearch config looks like this:
numHistoryShards: 4
defaultStore: default
visibilityStore: visibility
advancedVisibilityStore: es-visibility
datastores:
default:
sql:
pluginName: "postgres"
databaseName: "temporal"
connectAddr: "***:5432"
connectProtocol: "tcp"
user: "***"
password: "***"
maxConns: 20
maxIdleConns: 20
maxConnLifetime: 1h
tls:
enabled: true
caFile:
certFile:
keyFile:
enableHostVerification: false
serverName:
visibility:
sql:
pluginName: "postgres"
databaseName: "temporal_visibility"
connectAddr: "***:5432"
connectProtocol: "tcp"
user: "***"
password: "***"
maxConns: 10
maxIdleConns: 10
maxConnLifetime: 1h
tls:
enabled: true
caFile:
certFile:
keyFile:
enableHostVerification: false
serverName:
es-visibility:
elasticsearch:
version: v7
url:
scheme: http
host: "***:9200"
indices:
visibility: "temporal_visibility_v1_dev"
… and the output of http://redacted:9200/temporal_visibility_v1_dev/_stats/docs:
$ curl http://redacted:9200/temporal_visibility_v1_dev/_stats/docs
{"_shards":{"total":1,"successful":1,"failed":0},"_all":{"primaries":{"docs":{"count":0,"deleted":0}},"total":{"docs":{"count":0,"deleted":0}}},"indices":{"temporal_visibility_v1_dev":{"uuid":"OxToD8MnS-qRDRvzeFGv6w","primaries":{"docs":{"count":0,"deleted":0}},"total":{"docs":{"count":0,"deleted":0}}}}}