-
Search before asking
Apache SkyWalking ComponentJava Agent (apache/skywalking-java) What happenedIn my Java project, I use Lettuce to connect to Redis. Recently, I upgraded the Lettuce core dependency from version 6.4.2.RELEASE to 6.5.2.RELEASE. After the upgrade, the host monitoring system alerted me that the disk space was growing rapidly. Upon investigation, I discovered that the SkyWalking agent logs were being printed excessively, filling up the disk space. The log content looks like this:
The relevant part of my <dependency>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>6.5.2.RELEASE</version>
</dependency> Upon further analysis, I found that the Before 6.5.2, the interface looked like this: public interface ProtocolKeyword {
/**
* @return byte[] encoded representation.
*/
byte[] getBytes();
/**
* @return name of the command.
*/
String toString();
} After 6.5.2, it was changed to: /**
* Interface for protocol keywords providing an encoded representation.
*
* @author Mark Paluch
*/
public interface ProtocolKeyword {
/**
* @return byte[] encoded representation.
*/
byte[] getBytes();
/**
* @return name of the command.
*/
String name();
} This change seems to have caused a What you expected to happen
How to reproduce
Anything elseNo response Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
As it is a new version, you need to submit pull request and relative test scenario update to cover that. |
Beta Was this translation helpful? Give feedback.
-
@CodingOX You will need a new plugin to pass the compiling. |
Beta Was this translation helpful? Give feedback.
-
I encountered same problem
i saw the situation like this. so, does java has some general way slove this? (dependency conflict)
|
Beta Was this translation helpful? Give feedback.
-
There is a patch(apache/skywalking-java#760) about this in 9.5.0 |
Beta Was this translation helpful? Give feedback.
There is a patch(apache/skywalking-java#760) about this in 9.5.0