张炎泼

Results 113 issues of 张炎泼

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/ ## Summary ##### Chore: refactor RoleMgr ## Changelog ## Related Issues - - - This change is [](https://reviewable.io/reviews/datafuselabs/databend/14741)

pr-chore

RoleMgr currently serialize keys manually to access meta-service. Rewrite to use `kvapi::Key` to define Key behaviors. So that the export program is able to filter out data belonging to a...

#### Feature request: - Export all meta-data belonging to a tenant; - Import meta-data belonging to a tenant; #### Not do - `share` and all related meta data is not...

Currently, the first meta-service node in a cluster must be configured with `single`, and others are configured with `join`: ```toml # node-1 [raft_config] id = 1 single = true #...

Normally `databend-metactl --export` dumps all data from meta-service. We need a way to migrate exact the data that belongs to a specific `tenant`. A special for this purpose is required....

After release, maybe we also need add a not in there? https://github.com/datafuselabs/databend-docs/blob/acc8e8e2a16fa96ca2668db58a286e76bd51caca/docs/guides/10-deploy/12-upgrade/10-compatibility.md#compatibility-between-databend-meta like compatibility-between-databend-query? _Originally posted by @TCeason in https://github.com/datafuselabs/databend/issues/14393#issuecomment-1903294964_

Some refactor work can be done first

___ *[`src/meta/proto-conv/tests/it/v075_csv_format_params.rs` line 56 at r1](https://reviewable.io/reviews/datafuselabs/databend/14329#-NoF9lv_0p2aJ4kJnvOU:-NoF9lv_0p2aJ4kJnvOV:b4k06o3) ([raw file](https://github.com/datafuselabs/databend/blob/26dd33b871a6806f8d876fafb468050af54f2b60/src/meta/proto-conv/tests/it/v075_csv_format_params.rs#L56)):* > ```XML > }) > }; > common::test_load_old(func_name!(), file_format_params_v75.as_slice(), 0, want())?; > ``` `FileFormatParams` is an enum that does not have version...

[`SchemaApi`](https://github.com/datafuselabs/databend/blob/76c4d25755e1ea29dc94982aa26c4375d7e7e32f/src/meta/api/src/schema_api_impl.rs#L242) is implemented upon `KVApi`, via RPC. Everytime there is a conflict, e.g., two transaction update a same table, one of the transaction has to retry. Therefore transactions are serialized....

A-meta

**Summary** If a response body is too large, e.g., prefix-list tables when there are dozen of thousands tables, the body size exceeds gRPC max body size(16MB). To allow an application...