-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: main
Are you sure you want to change the base?
Conversation
rewrite generic commands with one request
… query on command view
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
cmd/modis/main.go
Outdated
@@ -43,15 +44,18 @@ func main() { | |||
// go func() { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why tableName is "get"
There was a problem hiding this comment.
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.
updata obkv_table_client, remove redis pcode and use table pcode
fix review
reset redis use table pcode
fix set err msg
Summary
merge cmd_trans to main, to fit oceanbase 4.2.5
Solution Description