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

ARTEMIS-2449 limit size of producer details #272

Merged
merged 1 commit into from Aug 9, 2019

Conversation

franz1981
Copy link
Contributor

@franz1981 franz1981 commented Aug 9, 2019

The core server session tracks details about producers like what
addresses have had messages sent to them, the most recent message ID
sent to each address, and the number of messages sent to each address.
This information is made available to users via the
listProducersInfoAsJSON method on the various management interfaces
(JMX, web console, etc.). However, in situations where a server session
is long lived (e.g. in a pool) and is used to send to many different
addresses (e.g. randomly named temporary JMS queues) this info can
accumulate to a problematic degree. Therefore, we should limit the
amount of producer details saved by the session.
(cherry picked from commit 9d44c40)
downstream: ENTMQBR-2711
test: org.apache.activemq.artemis.tests.integration.jms.client.TemporaryDestinationTest#testForTempQueueTargetInfosSizeLimit
component: jms-client
subcomponent: queuing
level: integration
importance: medium
type: functional
subtype: compliance
verifies: AMQ-90

The core server session tracks details about producers like what
addresses have had messages sent to them, the most recent message ID
sent to each address, and the number of messages sent to each address.
This information is made available to users via the
listProducersInfoAsJSON method on the various management interfaces
(JMX, web console, etc.). However, in situations where a server session
is long lived (e.g. in a pool) and is used to send to many different
addresses (e.g. randomly named temporary JMS queues) this info can
accumulate to a problematic degree. Therefore, we should limit the
amount of producer details saved by the session.

(cherry picked from commit 9d44c40)

downstream: ENTMQBR-2711
@franz1981 franz1981 added QE Review Needed Engineering Ack TEST-ADDED There is a test as part of the PR. (This could be used to help QA to make their evaluation) labels Aug 9, 2019
@franz1981
Copy link
Contributor Author

It is the same PR of #271 but with right commit message and downstream jira reference

@mkrutov
Copy link

mkrutov commented Aug 9, 2019

thanks for the PR

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0

QE Ack.

@franz1981 franz1981 merged commit 4a3fd26 into rh-messaging:2.9.0.jbossorg-x Aug 9, 2019
@michalxo michalxo added Customer Issue Whether this issue originates from customer (higher importance) Metadata-added Test case metadata in description of issue is provided labels Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Issue Whether this issue originates from customer (higher importance) Engineering Ack Metadata-added Test case metadata in description of issue is provided QE Ack TEST-ADDED There is a test as part of the PR. (This could be used to help QA to make their evaluation)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants