yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
9.04k stars 1.08k forks source link

[xCluster][DB-Scope] Restart replication is throwing database is being accessed by other users #24995

Open agsh-yb opened 5 days ago

agsh-yb commented 5 days ago

Jira Link: DB-14139

Description

In current DR stress test we are facing this issue Version: 2024.2.1.0-b40 Attached logs in Jira nemesis are being performed in parallel
Currently this is only observed with 2024.2.1.0, recent run was on 2.25.0.0-b306 and it passed there

Error:

During restart replication from YBA I saw this kind of error

 Error ERROR:  database "db_scope_3" is being accessed by other users
DETAIL:  There are 5 other sessions using the database.
 occurred while cleaning up DB db_scope_3 .

Screenshot 2024-11-13 at 10 20 46 AM

Screenshot 2024-11-20 at 3 22 13 PM

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information