RHACS 4.0.0 cursor transaction error

Solution Verified - Updated -

Issue

Why do the RHACS Central logs show a error committing cursor transaction message?

2023-05-17T05:27:33.415151973Z pkg/search/postgres: 2023/05/17 05:27:33.415063 common.go:800: Error: error committing cursor transaction: timeout: context already done: context deadline exceeded
2023-05-17T05:37:58.188894282Z pkg/search/postgres: 2023/05/17 05:37:58.188775 common.go:800: Error: error committing cursor transaction: timeout: context already done: context deadline exceeded
2023-05-17T05:48:03.151226142Z pkg/search/postgres: 2023/05/17 05:48:03.151133 common.go:800: Error: error committing cursor transaction: timeout: context already done: context deadline exceeded
2023-05-17T05:48:03.153555399Z panic: context deadline exceeded
2023-05-17T05:48:03.153555399Z advancing in cursor
2023-05-17T05:48:03.153555399Z github.com/stackrox/rox/pkg/search/postgres.RunCursorQueryForSchema[...].func2
2023-05-17T05:48:03.153555399Z  github.com/stackrox/rox/pkg/search/postgres/common.go:819
2023-05-17T05:48:03.153555399Z github.com/stackrox/rox/central/networkbaseline/store/postgres.(*storeImpl).Walk
2023-05-17T05:48:03.153555399Z  github.com/stackrox/rox/central/networkbaseline/store/postgres/store.go:598
2023-05-17T05:48:03.153555399Z github.com/stackrox/rox/central/networkbaseline/datastore.(*dataStoreImpl).Walk
2023-05-17T05:48:03.153555399Z  github.com/stackrox/rox/central/networkbaseline/datastore/datastore_impl.go:183
2023-05-17T05:48:03.153555399Z github.com/stackrox/rox/central/networkbaseline/manager.(*manager).initFromStore.func1
2023-05-17T05:48:03.153555399Z  github.com/stackrox/rox/central/networkbaseline/manager/manager_impl.go:715

Environment

Red Hat Advanced Cluster Security (RHACS) 4.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content