databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.71k stars 732 forks source link

refactor: add DatabaseMeta.gc_in_progress #16464

Closed drmingdrmer closed 1 week ago

drmingdrmer commented 1 week ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

refactor: add DatabaseMeta.gc_in_progress

If gc_in_progress is set, no un-drop can be done on this database. Because the related data may already have been deleted.

This commit does not use this flag yet, and will be used in next commit.

Tests

Type of change

Related Issues


This change isโ€‚Reviewable