This is an automated backport of #6978: Fix segfault on non-open primary dimension when compressing.
The original issue is #6977.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
Fix segfault on non-open primary dimension when compressing
With the new hypertable API hypertables can be created with primary space partition. In dev-builds this was prevented with Asserts. This patch removes the Asserts and adds a proper check.
This is an automated backport of #6978: Fix segfault on non-open primary dimension when compressing. The original issue is #6977. This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
For more details, please see the documentation
Original description
Fix segfault on non-open primary dimension when compressing
With the new hypertable API hypertables can be created with primary space partition. In dev-builds this was prevented with Asserts. This patch removes the Asserts and adds a proper check.
Fixes
#6977