Skip to content

Revert SolrJ plugin.#2871

Merged
wu-sheng merged 5 commits intomasterfrom
emergency-revert
Jun 14, 2019
Merged

Revert SolrJ plugin.#2871
wu-sheng merged 5 commits intomasterfrom
emergency-revert

Conversation

@wu-sheng
Copy link
Copy Markdown
Member

@dmsolr I have to do this emergency revert. This plugin breaks agent, because

  1. Static import, import org.apache.http.client.methods.HttpUriRequest; This will break the agent when this doesn't exist.
  2. CloseableHttpClient should not be instrumented by SolrJ plugin, it should be httpClient plugin's responsibility.

@wu-sheng wu-sheng added bug Something isn't working and you are sure it's a bug! core feature Core and important feature. Sometimes, break backwards compatibility. agent Language agent related. labels Jun 13, 2019
@wu-sheng wu-sheng added this to the 6.2.0 milestone Jun 13, 2019
@wu-sheng wu-sheng requested a review from ascrutae June 13, 2019 23:53
@wu-sheng
Copy link
Copy Markdown
Member Author

@IanCao Please notice this in other review.

ascrutae
ascrutae previously approved these changes Jun 13, 2019
Copy link
Copy Markdown
Contributor

@hanahmily hanahmily left a comment

Choose a reason for hiding this comment

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

/lgtm

@wu-sheng wu-sheng merged commit 0f9c27d into master Jun 14, 2019
@wu-sheng wu-sheng deleted the emergency-revert branch June 14, 2019 01:25
@dmsolr
Copy link
Copy Markdown
Member

dmsolr commented Jun 14, 2019

I am so sorry to heard that. I am going to recheck and remove instrumentation of CloseableHttpClient.

@wu-sheng
Copy link
Copy Markdown
Member Author

@dmsolr we are working on more automatically tests requirements and environments to make this smoothly next time.

Instrumentation is one thing. And please don't import the dependency class. Check other plugins, use string name.

@dmsolr
Copy link
Copy Markdown
Member

dmsolr commented Jun 14, 2019

I got it. Thank you!

@wu-sheng
Copy link
Copy Markdown
Member Author

@dmsolr According to our offline discussion, I am looking forward to your script to avoid this happens in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Language agent related. bug Something isn't working and you are sure it's a bug! core feature Core and important feature. Sometimes, break backwards compatibility.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants