Skip to content

GH-1194: Fix cache limit with Pub Confirms channel #1196

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

Merged
merged 1 commit into from
May 8, 2020

Conversation

garyrussell
Copy link
Contributor

Resolves #1194

Deferred channel closes were unconditionally returned to the cache.

Move the cache size check etc to doReturnToCache.

cherry-pick to 2.2.x, 2.1.x

Resolves spring-projects#1194

Deferred channel closes were unconditionally returned to the cache.

Move the cache size check etc to `doReturnToCache`.

**cherry-pick to 2.2.x, 2.1.x**
@artembilan artembilan merged commit 33f166f into spring-projects:master May 8, 2020
@artembilan
Copy link
Member

... and cherry-picked to 2.2.x & 2.1.x

@srudrar
Copy link

srudrar commented May 8, 2020

Can I test this now? and which version should I use?

@garyrussell
Copy link
Contributor Author

garyrussell commented May 8, 2020

(Boot 2.1.x) 2.1.15.BUILD-SNAPSHOT (spring-amqp and spring-rabbit) or 2.2.7.BUILD-SNAPSHOT (Boot 2.2.x).

https://repo.spring.io/snapshot

@srudrar
Copy link

srudrar commented May 8, 2020

Thank you.

@garyrussell garyrussell deleted the GH-1194 branch May 9, 2020 19:40
@srudrar
Copy link

srudrar commented May 12, 2020

@garyrussell I verified with (Boot 2.1.x) 2.1.15.BUILD-SNAPSHOT, but I am still seeing the same issue. It pulled 2.1.14.RELEASE version of spring-amqp and spring-rabbit.

@garyrussell
Copy link
Contributor Author

garyrussell commented May 12, 2020

You need to override those jars to 2.1.15.BUILD-SNAPSHOT too.

Boot usually doesn't pull in snapshot dependencies until near its next release.

@srudrar
Copy link

srudrar commented May 12, 2020

Now it worked as expected. When can we expect 2.1.15.RELEASE?

@garyrussell
Copy link
Contributor Author

It would normally be released a short time before Boot 2.1.15 which is currently scheduled for June 25.

But I can look into doing it before then if you need it earlier (it will work with Boot 2.1.14).

@srudrar
Copy link

srudrar commented May 14, 2020

@garyrussell We are planning to use this feature before June 25th. If you can do that(it will work with Boot 2.1.14), it would be great.

@garyrussell
Copy link
Contributor Author

OK; I've moved it to next Wednesday - is that enough for you?

@srudrar
Copy link

srudrar commented May 14, 2020

Yes, that will work. Thank you.

@garyrussell
Copy link
Contributor Author

@srudrar 2.1.15 and 2.2.7 including this fix are in the Spring repo and Maven Central.

@srudrar
Copy link

srudrar commented May 27, 2020

Thank you

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.

PublisherCallbackChannel incorrectly added to cache when it is at its limit
3 participants