citusdata / citusdata/citus

master_remove_node crashes after removing reference table shard from metadata

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

Description

```
brian=# CREATE TABLE ref (a int, b int);
CREATE TABLE
brian=# SELECT create_reference_table('ref');
create_reference_table
------------------------

(1 row)

brian=# DELETE FROM pg_dist_shard;
DELETE 1
brian=# SELECT master_remove_node('localhost', 9700);
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
```

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.