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(config): add txn_context_enabled to allow to enable the transaction feature #2506

Merged
merged 5 commits into from
Aug 31, 2024

Conversation

PokIsemaine
Copy link
Contributor

fix: #2504

kvrocks.conf Show resolved Hide resolved
src/config/config.h Outdated Show resolved Hide resolved
Co-authored-by: mwish <maplewish117@gmail.com>
@git-hulk git-hulk changed the title feat(config): txn_context_enabled feat(config): add txn_context_enabled to allow to enable the transaction feature Aug 25, 2024
# At the same time, we welcome feedback on related issues to help iterative improvements.
#
# Default: no
txn-context-enabled no
Copy link
Member

Choose a reason for hiding this comment

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

maybe we can add some go cases for "yes" mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we need to test, but "some" may actually be almost all.
Is it possible to add a "yes" mode process to the GitHub Actions?

Copy link
Member

@PragmaTwice PragmaTwice Aug 27, 2024

Choose a reason for hiding this comment

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

You can just change the go cases to make some test functions like TestXX work on both mode, e.g.

TestXXAllMode() {
  TestXX(yes)
  TestXX(no)
}

Currently it is not required to include all test cases. Just some basic tests to ensure it can works.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, how about adding these tests in another PR? I need to go out recently, so I may not be able to update immediately. You can merge this PR first, and then I will create an issue to track it and solve it when I have free time.

@mapleFU
Copy link
Member

mapleFU commented Aug 31, 2024

Will merge this, lets' adding test in another pr. So sorry for delaying

Copy link

sonarcloud bot commented Aug 31, 2024

@mapleFU mapleFU merged commit 6c85004 into apache:unstable Aug 31, 2024
32 checks passed
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.

Provide a configuration to turn off transactional Context
5 participants