citusdata / citusdata/citus

Maintenance daemon prevents DROP DATABASE

Open
#4,897 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

The Citus maintenance daemon seems to prevent a `DROP DATABASE`.

Here's what we're seeing.

```
postgres=# DROP DATABASE db_dev;
ERROR: database "db_dev" is being accessed by other users
DETAIL: There are 2 other sessions using the database.
```

It looks like this has been reported and resolved so I'm not sure if this is a regression or this functionality has ben removed.

https://github.com/citusdata/citus/issues/1579
https://github.com/citusdata/citus/pull/1592

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.