mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
<!-- Describe what has changed in this PR --> **What changed?** This change adds an integration test for the history replication DLQ. I also improved some error messages in replication that I found while writing this test. <!-- Tell your future self why have you made these changes --> **Why?** It's mainly to help rolling out the new DLQ backend implemented using QueueV2 1. I'll need a similar test, so I can reuse a lot of this 2. I'll be refactoring some code in the replication stack, so this test verifies that I don't cause any regressions. <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> **How did you test it?** This test runs with streaming both enabled and disabled for replication, so it should work just fine once that's turned on by default. <!-- Assuming the worst case, what can be broken when deploying this change to production? --> **Potential risks** This test is pretty invasive, relying on several assumptions about what types are used by the replication stack. However, this means we don't have any sleeps or retries in the test. <!-- Is this PR a hotfix candidate or require that a notification be sent to the broader community? (Yes/No) --> **Is hotfix candidate?**
505 lines
17 KiB
Go
505 lines
17 KiB
Go
// The MIT License
|
|
//
|
|
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
|
|
//
|
|
// Copyright (c) 2020 Uber Technologies, Inc.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in
|
|
// all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
// THE SOFTWARE.
|
|
|
|
package worker
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
|
|
"go.temporal.io/api/serviceerror"
|
|
"go.temporal.io/server/common"
|
|
|
|
"go.temporal.io/server/api/matchingservice/v1"
|
|
"go.temporal.io/server/client"
|
|
"go.temporal.io/server/common/cluster"
|
|
"go.temporal.io/server/common/config"
|
|
"go.temporal.io/server/common/dynamicconfig"
|
|
"go.temporal.io/server/common/log"
|
|
"go.temporal.io/server/common/log/tag"
|
|
"go.temporal.io/server/common/membership"
|
|
"go.temporal.io/server/common/metrics"
|
|
"go.temporal.io/server/common/namespace"
|
|
"go.temporal.io/server/common/persistence"
|
|
persistenceClient "go.temporal.io/server/common/persistence/client"
|
|
"go.temporal.io/server/common/persistence/visibility"
|
|
"go.temporal.io/server/common/persistence/visibility/manager"
|
|
esclient "go.temporal.io/server/common/persistence/visibility/store/elasticsearch/client"
|
|
"go.temporal.io/server/common/primitives"
|
|
"go.temporal.io/server/common/resource"
|
|
"go.temporal.io/server/common/sdk"
|
|
"go.temporal.io/server/service/worker/batcher"
|
|
"go.temporal.io/server/service/worker/parentclosepolicy"
|
|
"go.temporal.io/server/service/worker/replicator"
|
|
"go.temporal.io/server/service/worker/scanner"
|
|
)
|
|
|
|
type (
|
|
// Service represents the temporal-worker service. This service hosts all background processing needed for temporal cluster:
|
|
// Replicator: Handles applying replication tasks generated by remote clusters.
|
|
// Archiver: Handles archival of workflow histories.
|
|
Service struct {
|
|
logger log.Logger
|
|
clusterMetadata cluster.Metadata
|
|
clientBean client.Bean
|
|
clusterMetadataManager persistence.ClusterMetadataManager
|
|
metadataManager persistence.MetadataManager
|
|
membershipMonitor membership.Monitor
|
|
hostInfo membership.HostInfo
|
|
executionManager persistence.ExecutionManager
|
|
taskManager persistence.TaskManager
|
|
historyClient resource.HistoryClient
|
|
namespaceRegistry namespace.Registry
|
|
workerServiceResolver membership.ServiceResolver
|
|
visibilityManager manager.VisibilityManager
|
|
|
|
namespaceReplicationQueue persistence.NamespaceReplicationQueue
|
|
|
|
persistenceBean persistenceClient.Bean
|
|
|
|
metricsHandler metrics.Handler
|
|
|
|
sdkClientFactory sdk.ClientFactory
|
|
esClient esclient.Client
|
|
config *Config
|
|
|
|
workerManager *workerManager
|
|
perNamespaceWorkerManager *perNamespaceWorkerManager
|
|
scanner *scanner.Scanner
|
|
matchingClient matchingservice.MatchingServiceClient
|
|
namespaceReplicationTaskExecutor namespace.ReplicationTaskExecutor
|
|
}
|
|
|
|
// Config contains all the service config for worker
|
|
Config struct {
|
|
ScannerCfg *scanner.Config
|
|
ParentCloseCfg *parentclosepolicy.Config
|
|
ThrottledLogRPS dynamicconfig.IntPropertyFn
|
|
PersistenceMaxQPS dynamicconfig.IntPropertyFn
|
|
PersistenceGlobalMaxQPS dynamicconfig.IntPropertyFn
|
|
PersistenceNamespaceMaxQPS dynamicconfig.IntPropertyFnWithNamespaceFilter
|
|
PersistenceGlobalNamespaceMaxQPS dynamicconfig.IntPropertyFnWithNamespaceFilter
|
|
PersistencePerShardNamespaceMaxQPS dynamicconfig.IntPropertyFnWithNamespaceFilter
|
|
EnablePersistencePriorityRateLimiting dynamicconfig.BoolPropertyFn
|
|
PersistenceDynamicRateLimitingParams dynamicconfig.MapPropertyFn
|
|
OperatorRPSRatio dynamicconfig.FloatPropertyFn
|
|
EnableBatcher dynamicconfig.BoolPropertyFn
|
|
BatcherRPS dynamicconfig.IntPropertyFnWithNamespaceFilter
|
|
BatcherConcurrency dynamicconfig.IntPropertyFnWithNamespaceFilter
|
|
EnableParentClosePolicyWorker dynamicconfig.BoolPropertyFn
|
|
PerNamespaceWorkerCount dynamicconfig.IntPropertyFnWithNamespaceFilter
|
|
PerNamespaceWorkerOptions dynamicconfig.MapPropertyFnWithNamespaceFilter
|
|
|
|
VisibilityPersistenceMaxReadQPS dynamicconfig.IntPropertyFn
|
|
VisibilityPersistenceMaxWriteQPS dynamicconfig.IntPropertyFn
|
|
EnableReadFromSecondaryVisibility dynamicconfig.BoolPropertyFnWithNamespaceFilter
|
|
VisibilityDisableOrderByClause dynamicconfig.BoolPropertyFnWithNamespaceFilter
|
|
VisibilityEnableManualPagination dynamicconfig.BoolPropertyFnWithNamespaceFilter
|
|
}
|
|
)
|
|
|
|
func NewService(
|
|
logger log.SnTaggedLogger,
|
|
serviceConfig *Config,
|
|
sdkClientFactory sdk.ClientFactory,
|
|
esClient esclient.Client,
|
|
clusterMetadata cluster.Metadata,
|
|
clientBean client.Bean,
|
|
clusterMetadataManager persistence.ClusterMetadataManager,
|
|
namespaceRegistry namespace.Registry,
|
|
executionManager persistence.ExecutionManager,
|
|
persistenceBean persistenceClient.Bean,
|
|
membershipMonitor membership.Monitor,
|
|
hostInfoProvider membership.HostInfoProvider,
|
|
namespaceReplicationQueue persistence.NamespaceReplicationQueue,
|
|
metricsHandler metrics.Handler,
|
|
metadataManager persistence.MetadataManager,
|
|
taskManager persistence.TaskManager,
|
|
historyClient resource.HistoryClient,
|
|
workerManager *workerManager,
|
|
perNamespaceWorkerManager *perNamespaceWorkerManager,
|
|
visibilityManager manager.VisibilityManager,
|
|
matchingClient resource.MatchingClient,
|
|
namespaceReplicationTaskExecutor namespace.ReplicationTaskExecutor,
|
|
) (*Service, error) {
|
|
workerServiceResolver, err := membershipMonitor.GetResolver(primitives.WorkerService)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
s := &Service{
|
|
config: serviceConfig,
|
|
sdkClientFactory: sdkClientFactory,
|
|
esClient: esClient,
|
|
logger: logger,
|
|
clusterMetadata: clusterMetadata,
|
|
clientBean: clientBean,
|
|
clusterMetadataManager: clusterMetadataManager,
|
|
namespaceRegistry: namespaceRegistry,
|
|
executionManager: executionManager,
|
|
persistenceBean: persistenceBean,
|
|
workerServiceResolver: workerServiceResolver,
|
|
membershipMonitor: membershipMonitor,
|
|
hostInfo: hostInfoProvider.HostInfo(),
|
|
namespaceReplicationQueue: namespaceReplicationQueue,
|
|
metricsHandler: metricsHandler,
|
|
metadataManager: metadataManager,
|
|
taskManager: taskManager,
|
|
historyClient: historyClient,
|
|
visibilityManager: visibilityManager,
|
|
|
|
workerManager: workerManager,
|
|
perNamespaceWorkerManager: perNamespaceWorkerManager,
|
|
matchingClient: matchingClient,
|
|
namespaceReplicationTaskExecutor: namespaceReplicationTaskExecutor,
|
|
}
|
|
if err := s.initScanner(); err != nil {
|
|
return nil, err
|
|
}
|
|
return s, nil
|
|
}
|
|
|
|
// NewConfig builds the new Config for worker service
|
|
func NewConfig(
|
|
dc *dynamicconfig.Collection,
|
|
persistenceConfig *config.Persistence,
|
|
visibilityStoreConfigExist bool,
|
|
enableReadFromES bool,
|
|
) *Config {
|
|
config := &Config{
|
|
ParentCloseCfg: &parentclosepolicy.Config{
|
|
MaxConcurrentActivityExecutionSize: dc.GetIntProperty(
|
|
dynamicconfig.WorkerParentCloseMaxConcurrentActivityExecutionSize,
|
|
1000,
|
|
),
|
|
MaxConcurrentWorkflowTaskExecutionSize: dc.GetIntProperty(
|
|
dynamicconfig.WorkerParentCloseMaxConcurrentWorkflowTaskExecutionSize,
|
|
1000,
|
|
),
|
|
MaxConcurrentActivityTaskPollers: dc.GetIntProperty(
|
|
dynamicconfig.WorkerParentCloseMaxConcurrentActivityTaskPollers,
|
|
4,
|
|
),
|
|
MaxConcurrentWorkflowTaskPollers: dc.GetIntProperty(
|
|
dynamicconfig.WorkerParentCloseMaxConcurrentWorkflowTaskPollers,
|
|
4,
|
|
),
|
|
NumParentClosePolicySystemWorkflows: dc.GetIntProperty(
|
|
dynamicconfig.NumParentClosePolicySystemWorkflows,
|
|
10,
|
|
),
|
|
},
|
|
ScannerCfg: &scanner.Config{
|
|
MaxConcurrentActivityExecutionSize: dc.GetIntProperty(
|
|
dynamicconfig.WorkerScannerMaxConcurrentActivityExecutionSize,
|
|
10,
|
|
),
|
|
MaxConcurrentWorkflowTaskExecutionSize: dc.GetIntProperty(
|
|
dynamicconfig.WorkerScannerMaxConcurrentWorkflowTaskExecutionSize,
|
|
10,
|
|
),
|
|
MaxConcurrentActivityTaskPollers: dc.GetIntProperty(
|
|
dynamicconfig.WorkerScannerMaxConcurrentActivityTaskPollers,
|
|
8,
|
|
),
|
|
MaxConcurrentWorkflowTaskPollers: dc.GetIntProperty(
|
|
dynamicconfig.WorkerScannerMaxConcurrentWorkflowTaskPollers,
|
|
8,
|
|
),
|
|
|
|
PersistenceMaxQPS: dc.GetIntProperty(
|
|
dynamicconfig.ScannerPersistenceMaxQPS,
|
|
100,
|
|
),
|
|
Persistence: persistenceConfig,
|
|
TaskQueueScannerEnabled: dc.GetBoolProperty(
|
|
dynamicconfig.TaskQueueScannerEnabled,
|
|
true,
|
|
),
|
|
BuildIdScavengerEnabled: dc.GetBoolProperty(
|
|
dynamicconfig.BuildIdScavengerEnabled,
|
|
false,
|
|
),
|
|
HistoryScannerEnabled: dc.GetBoolProperty(
|
|
dynamicconfig.HistoryScannerEnabled,
|
|
true,
|
|
),
|
|
ExecutionsScannerEnabled: dc.GetBoolProperty(
|
|
dynamicconfig.ExecutionsScannerEnabled,
|
|
false,
|
|
),
|
|
HistoryScannerDataMinAge: dc.GetDurationProperty(
|
|
dynamicconfig.HistoryScannerDataMinAge,
|
|
60*24*time.Hour,
|
|
),
|
|
HistoryScannerVerifyRetention: dc.GetBoolProperty(
|
|
dynamicconfig.HistoryScannerVerifyRetention,
|
|
true,
|
|
),
|
|
ExecutionScannerPerHostQPS: dc.GetIntProperty(
|
|
dynamicconfig.ExecutionScannerPerHostQPS,
|
|
10,
|
|
),
|
|
ExecutionScannerPerShardQPS: dc.GetIntProperty(
|
|
dynamicconfig.ExecutionScannerPerShardQPS,
|
|
1,
|
|
),
|
|
ExecutionDataDurationBuffer: dc.GetDurationProperty(
|
|
dynamicconfig.ExecutionDataDurationBuffer,
|
|
time.Hour*24*90,
|
|
),
|
|
ExecutionScannerWorkerCount: dc.GetIntProperty(
|
|
dynamicconfig.ExecutionScannerWorkerCount,
|
|
8,
|
|
),
|
|
ExecutionScannerHistoryEventIdValidator: dc.GetBoolProperty(
|
|
dynamicconfig.ExecutionScannerHistoryEventIdValidator,
|
|
true,
|
|
),
|
|
RemovableBuildIdDurationSinceDefault: dc.GetDurationProperty(
|
|
dynamicconfig.RemovableBuildIdDurationSinceDefault,
|
|
time.Hour,
|
|
),
|
|
BuildIdScavengerVisibilityRPS: dc.GetFloat64Property(
|
|
dynamicconfig.BuildIdScavenengerVisibilityRPS,
|
|
1.0,
|
|
),
|
|
},
|
|
EnableBatcher: dc.GetBoolProperty(dynamicconfig.EnableBatcher, true),
|
|
BatcherRPS: dc.GetIntPropertyFilteredByNamespace(dynamicconfig.BatcherRPS, batcher.DefaultRPS),
|
|
BatcherConcurrency: dc.GetIntPropertyFilteredByNamespace(dynamicconfig.BatcherConcurrency, batcher.DefaultConcurrency),
|
|
EnableParentClosePolicyWorker: dc.GetBoolProperty(
|
|
dynamicconfig.EnableParentClosePolicyWorker,
|
|
true,
|
|
),
|
|
PerNamespaceWorkerCount: dc.GetIntPropertyFilteredByNamespace(
|
|
dynamicconfig.WorkerPerNamespaceWorkerCount,
|
|
1,
|
|
),
|
|
PerNamespaceWorkerOptions: dc.GetMapPropertyFnWithNamespaceFilter(
|
|
dynamicconfig.WorkerPerNamespaceWorkerOptions,
|
|
map[string]any{},
|
|
),
|
|
ThrottledLogRPS: dc.GetIntProperty(
|
|
dynamicconfig.WorkerThrottledLogRPS,
|
|
20,
|
|
),
|
|
PersistenceMaxQPS: dc.GetIntProperty(
|
|
dynamicconfig.WorkerPersistenceMaxQPS,
|
|
500,
|
|
),
|
|
PersistenceGlobalMaxQPS: dc.GetIntProperty(
|
|
dynamicconfig.WorkerPersistenceGlobalMaxQPS,
|
|
0,
|
|
),
|
|
PersistenceNamespaceMaxQPS: dc.GetIntPropertyFilteredByNamespace(
|
|
dynamicconfig.WorkerPersistenceNamespaceMaxQPS,
|
|
0,
|
|
),
|
|
PersistenceGlobalNamespaceMaxQPS: dc.GetIntPropertyFilteredByNamespace(
|
|
dynamicconfig.WorkerPersistenceGlobalNamespaceMaxQPS,
|
|
0,
|
|
),
|
|
PersistencePerShardNamespaceMaxQPS: dynamicconfig.DefaultPerShardNamespaceRPSMax,
|
|
EnablePersistencePriorityRateLimiting: dc.GetBoolProperty(
|
|
dynamicconfig.WorkerEnablePersistencePriorityRateLimiting,
|
|
true,
|
|
),
|
|
PersistenceDynamicRateLimitingParams: dc.GetMapProperty(dynamicconfig.WorkerPersistenceDynamicRateLimitingParams, dynamicconfig.DefaultDynamicRateLimitingParams),
|
|
OperatorRPSRatio: dc.GetFloat64Property(dynamicconfig.OperatorRPSRatio, common.DefaultOperatorRPSRatio),
|
|
|
|
VisibilityPersistenceMaxReadQPS: visibility.GetVisibilityPersistenceMaxReadQPS(dc, enableReadFromES),
|
|
VisibilityPersistenceMaxWriteQPS: visibility.GetVisibilityPersistenceMaxWriteQPS(dc, enableReadFromES),
|
|
EnableReadFromSecondaryVisibility: visibility.GetEnableReadFromSecondaryVisibilityConfig(dc, visibilityStoreConfigExist, enableReadFromES),
|
|
VisibilityDisableOrderByClause: dc.GetBoolPropertyFnWithNamespaceFilter(dynamicconfig.VisibilityDisableOrderByClause, true),
|
|
VisibilityEnableManualPagination: dc.GetBoolPropertyFnWithNamespaceFilter(dynamicconfig.VisibilityEnableManualPagination, true),
|
|
}
|
|
return config
|
|
}
|
|
|
|
// Start is called to start the service
|
|
func (s *Service) Start() {
|
|
s.logger.Info(
|
|
"worker starting",
|
|
tag.ComponentWorker,
|
|
)
|
|
|
|
s.metricsHandler.Counter(metrics.RestartCount).Record(1)
|
|
|
|
s.clusterMetadata.Start()
|
|
s.namespaceRegistry.Start()
|
|
|
|
s.membershipMonitor.Start()
|
|
|
|
s.ensureSystemNamespaceExists(context.TODO())
|
|
s.startScanner()
|
|
|
|
if s.clusterMetadata.IsGlobalNamespaceEnabled() {
|
|
s.startReplicator()
|
|
}
|
|
if s.config.EnableParentClosePolicyWorker() {
|
|
s.startParentClosePolicyProcessor()
|
|
}
|
|
if s.config.EnableBatcher() {
|
|
s.startBatcher()
|
|
}
|
|
|
|
s.workerManager.Start()
|
|
s.perNamespaceWorkerManager.Start(
|
|
// TODO: get these from fx instead of passing through Start
|
|
s.hostInfo,
|
|
s.workerServiceResolver,
|
|
)
|
|
|
|
s.logger.Info(
|
|
"worker service started",
|
|
tag.ComponentWorker,
|
|
tag.Address(s.hostInfo.GetAddress()),
|
|
)
|
|
}
|
|
|
|
// Stop is called to stop the service
|
|
func (s *Service) Stop() {
|
|
s.scanner.Stop()
|
|
s.perNamespaceWorkerManager.Stop()
|
|
s.workerManager.Stop()
|
|
s.namespaceRegistry.Stop()
|
|
s.clusterMetadata.Stop()
|
|
s.persistenceBean.Close()
|
|
s.visibilityManager.Close()
|
|
|
|
s.logger.Info(
|
|
"worker service stopped",
|
|
tag.ComponentWorker,
|
|
tag.Address(s.hostInfo.GetAddress()),
|
|
)
|
|
}
|
|
|
|
func (s *Service) startParentClosePolicyProcessor() {
|
|
params := &parentclosepolicy.BootstrapParams{
|
|
Config: *s.config.ParentCloseCfg,
|
|
SdkClientFactory: s.sdkClientFactory,
|
|
MetricsHandler: s.metricsHandler,
|
|
Logger: s.logger,
|
|
ClientBean: s.clientBean,
|
|
CurrentCluster: s.clusterMetadata.GetCurrentClusterName(),
|
|
}
|
|
processor := parentclosepolicy.New(params)
|
|
if err := processor.Start(); err != nil {
|
|
s.logger.Fatal(
|
|
"error starting parentclosepolicy processor",
|
|
tag.Error(err),
|
|
)
|
|
}
|
|
}
|
|
|
|
func (s *Service) startBatcher() {
|
|
if err := batcher.New(
|
|
s.metricsHandler,
|
|
s.logger,
|
|
s.sdkClientFactory,
|
|
s.config.BatcherRPS,
|
|
s.config.BatcherConcurrency,
|
|
).Start(); err != nil {
|
|
s.logger.Fatal(
|
|
"error starting batcher worker",
|
|
tag.Error(err),
|
|
)
|
|
}
|
|
}
|
|
|
|
func (s *Service) initScanner() error {
|
|
currentCluster := s.clusterMetadata.GetCurrentClusterName()
|
|
adminClient, err := s.clientBean.GetRemoteAdminClient(currentCluster)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
s.scanner = scanner.New(
|
|
s.logger,
|
|
s.config.ScannerCfg,
|
|
s.sdkClientFactory,
|
|
s.metricsHandler,
|
|
s.executionManager,
|
|
s.metadataManager,
|
|
s.visibilityManager,
|
|
s.taskManager,
|
|
s.historyClient,
|
|
adminClient,
|
|
s.matchingClient,
|
|
s.namespaceRegistry,
|
|
currentCluster,
|
|
)
|
|
return nil
|
|
}
|
|
|
|
func (s *Service) startScanner() {
|
|
if err := s.scanner.Start(); err != nil {
|
|
s.logger.Fatal(
|
|
"error starting scanner",
|
|
tag.Error(err),
|
|
)
|
|
}
|
|
}
|
|
|
|
func (s *Service) startReplicator() {
|
|
msgReplicator := replicator.NewReplicator(
|
|
s.clusterMetadata,
|
|
s.clientBean,
|
|
s.logger,
|
|
s.metricsHandler,
|
|
s.hostInfo,
|
|
s.workerServiceResolver,
|
|
s.namespaceReplicationQueue,
|
|
s.namespaceReplicationTaskExecutor,
|
|
s.matchingClient,
|
|
s.namespaceRegistry,
|
|
)
|
|
msgReplicator.Start()
|
|
}
|
|
|
|
func (s *Service) ensureSystemNamespaceExists(
|
|
ctx context.Context,
|
|
) {
|
|
_, err := s.metadataManager.GetNamespace(ctx, &persistence.GetNamespaceRequest{Name: primitives.SystemLocalNamespace})
|
|
switch err.(type) {
|
|
case nil:
|
|
// noop
|
|
case *serviceerror.NamespaceNotFound:
|
|
s.logger.Fatal(
|
|
"temporal-system namespace does not exist",
|
|
tag.Error(err),
|
|
)
|
|
default:
|
|
s.logger.Fatal(
|
|
"failed to verify if temporal system namespace exists",
|
|
tag.Error(err),
|
|
)
|
|
}
|
|
}
|
|
|
|
// This is intended for use by integration tests only.
|
|
func (s *Service) RefreshPerNSWorkerManager() {
|
|
s.perNamespaceWorkerManager.refreshAll()
|
|
}
|