Skip to content

Update RedisConnectionUtils.java #209

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

Closed
wants to merge 1 commit into from
Closed

Update RedisConnectionUtils.java #209

wants to merge 1 commit into from

Conversation

miaogr86
Copy link

Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request.
Make sure that:

  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our JIRA.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).
  • You provide your full name and an email address registered with your GitHub account. If you’re a first-time submitter, make sure you have completed the Contributor’s License Agreement form.

修复 外层没有事务或者只读事务情况下,配置了enableTransactionSupport=true,redis连接没有关闭问题

修复 外层没有事务或者只读事务情况下,配置了enableTransactionSupport=true,redis连接没有关闭问题
@mp911de
Copy link
Member

mp911de commented Jul 18, 2016

Hi,
could you please tell us about the problem (in English) you're trying to solve by this pull request?

@miaogr86
Copy link
Author

miaogr86 commented Jul 18, 2016

The outer layer without spring transaction or read-only transactions, RedisTemplate configure enableTransactionSupport=true, redis connection is not close
image

@miaogr86
Copy link
Author

http://blog.oneapm.com/apm-tech/778.html

see chapter :Spring Data Redis 中的事务陷阱

@mp911de
Copy link
Member

mp911de commented Aug 24, 2016

Thanks for raising this PR. We weren't aware of the issue. We are solving this issue with a slightly different approach, see https://jira.spring.io/browse/DATAREDIS-548, therefore I'm closing this PR.

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.

2 participants