Sentry 10:The number of issues and events on the sentry wed side is not correct

I built a set of highly available sentry by myself, but the collected data is not displayed in the web. The data is already available in clickhouse, but not on the web side。
For example:
There is already ‘FileNotFoundException’ in clickhouse, but the web interface does not show it.
Another problem is that events always show 1.


My environment:
Sentry 10.1.0.dev08549f2a

Relying on the component:
clickhouse cluster: 19.11

cluster shard_num shard_weight replica_num host_name host_address port is_local user default_database
cluster_3s_1r 1 1 1 10.163.204.83 10.163.204.83 9000 0 default
cluster_3s_1r 2 1 1 10.163.204.84 10.163.204.84 9000 0 default
cluster_3s_1r 3 1 1 10.163.204.85 10.163.204.85 9000 0 default
test_cluster_two_shards_localhost 1 1 1 localhost 127.0.0.1 9000 1 default
test_cluster_two_shards_localhost 2 1 1 localhost 127.0.0.1 9000 1 default
test_shard_localhost 1 1 1 localhost 127.0.0.1 9000 1 default
test_shard_localhost_secure 1 1 1 localhost 127.0.0.1 9440 0 default
test_unavailable_shard 1 1 1 localhost 127.0.0.1 9000 1 default
test_unavailable_shard 2 1 1 localhost 127.0.0.1 1 0 default

PostgreSQL:9.2
kafka cluster:kafka_2.12-2.1.1
redis: 5.0
memcached: 1.5

I know the reason, sentry worker depends on sentry cron, after I run sentry cron, the problem is solved.

https://www.jiankunking.com/sentry-high-availability-deploy.html