pisanix icon indicating copy to clipboard operation
pisanix copied to clipboard

[enhancement] add a session manage module

Open xuanyuan300 opened this issue 2 years ago • 3 comments

Feature Request

Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

After added the readwritesplitting feature, the processing of ConnAttr has been added. Currently, the attrs processed are charset, autocommit, but the processing logic is integrated in Pool, and Pool is a public component, different databases may also there are different session attrs, so ConnAttr should be separated from Pool.

Describe alternatives you've considered:

Add a specifiy session manage module.

Teachability, Documentation, Adoption, Migration Strategy:

xuanyuan300 avatar Jul 08 '22 11:07 xuanyuan300

WIP, this issue will reslove in v0.3.0.

xuanyuan300 avatar Aug 04 '22 03:08 xuanyuan300

It is useful for backend database endpoint rolling upgrade without any discruptions of applications.

mlycore avatar Aug 14 '22 01:08 mlycore

In pr #274, Added Session trait and SessionMut trait.

xuanyuan300 avatar Aug 25 '22 06:08 xuanyuan300