Commit Graph

10 Commits (a37b85804d77baff4a537bd18c76ddd78ed03747)

Author SHA1 Message Date
Marko Mikulicic d26ad8e079
feat: Allow passing service protection limits in create db gRPC call (#7941)
* feat: Allow passing service protection limits in create db gRPC call

* fix: Move the impl into the catalog namespace trait

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-08 14:28:32 +00:00
Carol (Nichols || Goulding) d0db1194e2
feat: Validate custom partition templates on their creation
Make sure custom partition templates have:

- At least one part
- No more than 8 parts
- Only nonempty, valid strftime formats
2023-06-07 11:38:12 -04:00
Carol (Nichols || Goulding) ac26ceef91
feat: Make a place to do partition template validation
- Create data_types::partition_template::ValidationError
- Make creation of NamespacePartitionTemplateOverride and
  TablePartitionTemplateOverride fallible
- Move SerializationWrapper into a module to make its inner field
  private to force creation through one fallible constructor; this is
  where the validation logic will go to be shared among all uses of
  partition templates
2023-06-07 11:38:12 -04:00
Carol (Nichols || Goulding) 7f1d4a5bcd
fix: Create tag columns used in table partition template in a transaction with table create 2023-06-05 11:21:33 -04:00
Dom Dwyer 9e0570f2bf
refactor: explicit submod for partition_template
Move the import into the submodule itself, rather than re-exporting it
at the crate level.

This will make it possible to link to the specific module/logic.
2023-05-30 15:13:20 +02:00
Carol (Nichols || Goulding) 27e700f54c
docs: Flag race condition possibility as a known issue 2023-05-25 14:15:18 -04:00
Carol (Nichols || Goulding) 5d457212d4
feat: Log the table's partition template on successful creation 2023-05-25 13:19:33 -04:00
Carol (Nichols || Goulding) 7662b12dd9
fix: Return 'invalid argument' error if a column already exists and it's not a tag
No test because I think this is only possible with a race condition.
2023-05-25 13:19:33 -04:00
Carol (Nichols || Goulding) c3117e7eb8
fix: Return 'already exists' errors from namespace and table gRPC APIs
When appropriate, rather than internal errors.
2023-05-25 13:19:33 -04:00
Carol (Nichols || Goulding) e1a93252c5
feat: Add a new table service crate 2023-05-25 10:44:57 -04:00