Hitting Assert in maintenance daemon when creating a second database
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
When locally running tests with asserts enabled I am hitting an Assert sometimes in the multi_extension test when creating a second database:
https://github.com/citusdata/citus/blob/a209999618ed0a143561767e6240e0a365e6ec6b/src/test/regress/sql/multi_extension.sql#L375
The assert I'm hitting is https://github.com/citusdata/citus/blob/a209999618ed0a143561767e6240e0a365e6ec6b/src/backend/distributed/utils/maintenanced.c#L808
Some more investigation is needed to know if this is an actual bug, or only a faulty assert.
Contributor guide
Research direction
Reproduce the assertion with asserts enabled by running the multi_extension test at src/test/regress/sql/multi_extension.sql, especially around line 375. Then inspect the maintenance-daemon assertion in src/backend/distributed/utils/maintenanced.c around line 808 and determine whether it indicates a real bug or a faulty assertion; completion requires a confirmed diagnosis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, postgresql
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100