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

merge cmd_trans to main #29

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open

merge cmd_trans to main #29

wants to merge 37 commits into from

Conversation

eemjwu
Copy link
Contributor

@eemjwu eemjwu commented Sep 19, 2024

Summary

merge cmd_trans to main, to fit oceanbase 4.2.5

Solution Description

lyxiong0 and others added 24 commits July 17, 2024 10:47
rewrite generic commands with one request
Replace Hard-Coded Table with System Table Mapping for cmdName
Matches the latest table structure of obkv redis
Modis performance optimizing
fix get server where tenant is not existed
@@ -43,15 +44,18 @@ func main() {
// go func() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should remove unused code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

res, err := ctx.CodecCtx.DB.Storage.Expire(ctx.CodecCtx.DB.Ctx, ctx.CodecCtx.DB.ID, key, at)
func ExpireCommon(ctx *CmdContext) error {
var err error
ctx.OutContent, err = GenericCmdWithKey(ctx, "get")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why tableName is "get"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type, It should be cmdName, which has been modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants