Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(pisa-proxy, sharding): support horizontal sharding. #338

Merged
merged 25 commits into from
Sep 26, 2022

Conversation

xuanyuan300
Copy link
Contributor

@xuanyuan300 xuanyuan300 commented Sep 26, 2022

What is changed and how it works?

Major changes:

  1. Support horizontal sharding, the currently, support single database table sharding only.
  2. Refactor runtime server.

ref #257

xuanyuan300 and others added 25 commits September 19, 2022 10:49
* feat(pisa-proxy, rewrite): WIP

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP add rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP: add rewrtite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP: add rewrite, complete database sharding
stratey

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, strategy): fix unit test failed for rewritesplitting
Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, rewrite): WIP: remove comments
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP: fix unit test failed
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update config, strategy

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update strategy, update RouteInput

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): rewriter integrated to reqContext

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add route_sharding, update server

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add executor

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add stmt_cache, prepare_sharding_inner,
executor

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add shard_execute_executor, update
stmt_cache

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add shard_query_inner

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update get_conn for fsm, update
sharding routestrategy

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix get_conn in fsma, add check shading
config whether is valid

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP:  add shard_conn_cache in fsm

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update stmt_cache
Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, sharding): WIP: remove unused imports
Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
Signed-off-by: wangbo <[email protected]>

Signed-off-by: wangbo <[email protected]>
Co-authored-by: wangbo <[email protected]>
* chore(sharding): update test case

Signed-off-by: wangbo <[email protected]>

* delete: delete unuse code

Signed-off-by: wangbo <[email protected]>

Signed-off-by: wangbo <[email protected]>
Co-authored-by: wangbo <[email protected]>
* fix(pisa-proxy, sharding): fix unit test failed, add insert rewrite
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix unit test failed
Signed-off-by: xuanyuan300 <[email protected]>
* fix(pisa-proxy, sharding): fix unit test failed, add insert rewrite
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix unit test failed
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add sharding_column to `RewriteOutput`
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add sharding_column to `RewriteOutput`
Signed-off-by: xuanyuan300 <[email protected]>

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
* feat(pisa-proxy, sharding): WIP: fix merge sort

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix table_iproduct sharding_column
Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
1. Add `ShardingMeta` trait.
Signed-off-by: xuanyuan300 <[email protected]>
Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
…in sharding mode (#314)

* fix(pisa-proxy): fix run delete and update statement faild in sharding
mode

Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, sharding):  uncomments for meta
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix change database contains backquote

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
* chore(sharding): delete unuse code

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add avg sql rewrite

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add avg sharding rewrite

Signed-off-by: wangbo <[email protected]>

* chore(sharding): update test case

Signed-off-by: wangbo <[email protected]>

* chore(sharding): delete unuse code

Signed-off-by: wangbo <[email protected]>

* chore(sharding): delete unuse code

Signed-off-by: wangbo <[email protected]>

* feat(sharding): update rewriteoutput

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add comment

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add comment

Signed-off-by: wangbo <[email protected]>

Signed-off-by: wangbo <[email protected]>
Co-authored-by: wangbo <[email protected]>
* feat(pisa-proxy, sharding): Add use db support

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add limit buf to mergestream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add set_state for merge_stream

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
* feat(sharding): add order by & group by sql rewrite

Signed-off-by: wangbo <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wangbo <[email protected]>
Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wangbo <[email protected]>
* chore(sharding): optimize sharding sort

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): optimize sharding sort

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): remove clone

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
… mode (#322)

* feat(pisa-proxy, sharding): Add use db support

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add limit buf to mergestream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add set_state for merge_stream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add limit buf to mergestream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add set_state for merge_stream

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix prepare execute failed in sharding mode

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
* chore(sharding): optimize order group by sql rewrite

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): optimize order group by sql rewrite

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): add sharding order group change meta

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): add rewrite_outputs into ReqContext

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): add rewrite_outputs into ReqContext

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): rename nodegroup

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* chore(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
…d rw mode (#335)

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix sql execute failed for sharding and readwritesplitting.

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(docs): update docs

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>
* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix sql execute failed for sharding and readwritesplitting.

Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, sharding): remove unused println

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
@xuanyuan300 xuanyuan300 requested a review from wbtlb September 26, 2022 09:04
@xuanyuan300 xuanyuan300 self-assigned this Sep 26, 2022
@xuanyuan300 xuanyuan300 added in:sharding Sharding related changes app:pisa-proxy Pisa-Proxy related changes labels Sep 26, 2022
@xuanyuan300 xuanyuan300 merged commit 8de6ca5 into master Sep 26, 2022
xuanyuan300 added a commit to xuanyuan300/pisanix that referenced this pull request Oct 10, 2022
…sh#338)

* Reat rewrite9 (database-mesh#304)

* feat(pisa-proxy, rewrite): WIP

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP add rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP: add rewrtite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP: add rewrite, complete database sharding
stratey

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, strategy): fix unit test failed for rewritesplitting
Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, rewrite): WIP: remove comments
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, rewrite): WIP: fix unit test failed
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update config, strategy

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update strategy, update RouteInput

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): rewriter integrated to reqContext

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add route_sharding, update server

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add executor

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add stmt_cache, prepare_sharding_inner,
executor

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add shard_execute_executor, update
stmt_cache

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add shard_query_inner

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update get_conn for fsm, update
sharding routestrategy

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix get_conn in fsma, add check shading
config whether is valid

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP:  add shard_conn_cache in fsm

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: update stmt_cache
Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, sharding): WIP: remove unused imports
Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* feat(sharding): add table strategy (database-mesh#305)

Signed-off-by: wangbo <[email protected]>

Signed-off-by: wangbo <[email protected]>
Co-authored-by: wangbo <[email protected]>

* chore(sharding): update sharding return value (database-mesh#306)

* chore(sharding): update test case

Signed-off-by: wangbo <[email protected]>

* delete: delete unuse code

Signed-off-by: wangbo <[email protected]>

Signed-off-by: wangbo <[email protected]>
Co-authored-by: wangbo <[email protected]>

* Feat(pisa-proxy, sharding): add insert statement rewrite (database-mesh#308)

* fix(pisa-proxy, sharding): fix unit test failed, add insert rewrite
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix unit test failed
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy): add sharding-column to `RewriteOutput` (database-mesh#309)

* fix(pisa-proxy, sharding): fix unit test failed, add insert rewrite
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix unit test failed
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add sharding_column to `RewriteOutput`
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): WIP: add sharding_column to `RewriteOutput`
Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): Add merge sort by sharding column (database-mesh#310)

* feat(pisa-proxy, sharding): WIP: fix merge sort

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix table_iproduct sharding_column
Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* Optimize(pisa-proxy, sharding): optimize sharding_rewrite (database-mesh#311)

1. Add `ShardingMeta` trait.
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): add generic_meta.rs (database-mesh#312)

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix rewrite is null when table_name contains backquote

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, parser): fix parse like `db.`table`` sql failed

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, shardind): fix run delete and update statement faild in sharding mode (database-mesh#314)

* fix(pisa-proxy): fix run delete and update statement faild in sharding
mode

Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, sharding):  uncomments for meta
Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix change database contains backquote

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* feat(sharding): add avg sql rewrite (database-mesh#313)

* chore(sharding): delete unuse code

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add avg sql rewrite

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add avg sharding rewrite

Signed-off-by: wangbo <[email protected]>

* chore(sharding): update test case

Signed-off-by: wangbo <[email protected]>

* chore(sharding): delete unuse code

Signed-off-by: wangbo <[email protected]>

* chore(sharding): delete unuse code

Signed-off-by: wangbo <[email protected]>

* feat(sharding): update rewriteoutput

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add comment

Signed-off-by: wangbo <[email protected]>

* feat(sharding): add comment

Signed-off-by: wangbo <[email protected]>

Signed-off-by: wangbo <[email protected]>
Co-authored-by: wangbo <[email protected]>

* feat(pisa-proxy, sharding): support  use db, optimize MergeStream (database-mesh#315)

* feat(pisa-proxy, sharding): Add use db support

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add limit buf to mergestream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add set_state for merge_stream

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* feat(sharding): add order by & group by sql rewrite (database-mesh#316)

* feat(sharding): add order by & group by sql rewrite

Signed-off-by: wangbo <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): optimize sql rewrite

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wangbo <[email protected]>
Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wangbo <[email protected]>

* chore(sharding): optimize sharding sort (database-mesh#321)

* chore(sharding): optimize sharding sort

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): optimize sharding sort

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): remove clone

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* Fix(pisa-proxy, sharding): fix prepare execute failed in the sharding mode (database-mesh#322)

* feat(pisa-proxy, sharding): Add use db support

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add limit buf to mergestream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add set_state for merge_stream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add limit buf to mergestream

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add set_state for merge_stream

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix prepare execute failed in sharding mode

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* chore(sharding): optimize order group by sql rewrite (database-mesh#323)

* chore(sharding): optimize order group by sql rewrite

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): optimize order group by sql rewrite

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* feat(sharding): add sharding order group change meta (database-mesh#324)

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* feat(sharding): add sharding order group change meta

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* chore(sharding): add rewrite_outputs into ReqContext (database-mesh#325)

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): add rewrite_outputs into ReqContext

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): add rewrite_outputs into ReqContext

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* feat(docs): add sharding docs (database-mesh#328)

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* feat(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* chore(sharding): rename nodegroup (database-mesh#330)

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(sharding): rename nodegroup

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* chore(docs): add sharding docs (database-mesh#334)

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

* chore(docs): add sharding docs

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* fix(pisa-proxy, sharding): fix sql execute failed when in sharding and rw mode (database-mesh#335)

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix sql execute failed for sharding and readwritesplitting.

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

* chore(docs): update docs (database-mesh#336)

* chore(sharding): add avg meta data

Signed-off-by: wbtlb <[email protected]>

* chore(docs): update docs

Signed-off-by: wbtlb <[email protected]>

Signed-off-by: wbtlb <[email protected]>
Co-authored-by: wbtlb <[email protected]>

* chore(pisa-proxy, sharding): remove unsed println! (database-mesh#337)

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* feat(pisa-proxy, sharding): add use has_rw to generate data_soruce for
rewrite

Signed-off-by: xuanyuan300 <[email protected]>

* fix(pisa-proxy, sharding): fix sql execute failed for sharding and readwritesplitting.

Signed-off-by: xuanyuan300 <[email protected]>

* chore(pisa-proxy, sharding): remove unused println

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>

Signed-off-by: xuanyuan300 <[email protected]>
Signed-off-by: wangbo <[email protected]>
Signed-off-by: wbtlb <[email protected]>
Co-authored-by: Jack <[email protected]>
Co-authored-by: wangbo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:pisa-proxy Pisa-Proxy related changes in:sharding Sharding related changes size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants