Skip to content

Extend CLIENT SETINFO support#3509

Merged
sazzad16 merged 9 commits into
redis:masterfrom
sazzad16:setlib-extend
Sep 13, 2023
Merged

Extend CLIENT SETINFO support#3509
sazzad16 merged 9 commits into
redis:masterfrom
sazzad16:setlib-extend

Conversation

@sazzad16

Copy link
Copy Markdown
Contributor

No description provided.

@sazzad16 sazzad16 added this to the 5.0.0 milestone Aug 21, 2023
@sazzad16 sazzad16 marked this pull request as draft August 21, 2023 18:57
@sazzad16 sazzad16 requested review from a team, chayim and uglide August 21, 2023 18:58
@codecov-commenter

codecov-commenter commented Aug 21, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 83.67% and project coverage change: +0.01% 🎉

Comparison is base (d6e21ef) 71.21% compared to head (4f30654) 71.22%.

❗ Current head 4f30654 differs from pull request most recent head 9498a4d. Consider uploading reports for the commit 9498a4d to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3509      +/-   ##
============================================
+ Coverage     71.21%   71.22%   +0.01%     
- Complexity     4763     4769       +6     
============================================
  Files           277      277              
  Lines         14999    15024      +25     
  Branches       1057     1060       +3     
============================================
+ Hits          10681    10701      +20     
- Misses         3853     3858       +5     
  Partials        465      465              
Files Changed Coverage Δ
...n/java/redis/clients/jedis/util/JedisMetaInfo.java 71.42% <75.00%> (-3.58%) ⬇️
src/main/java/redis/clients/jedis/Connection.java 80.75% <78.57%> (+0.06%) ⬆️
.../redis/clients/jedis/DefaultJedisClientConfig.java 93.39% <90.00%> (-0.93%) ⬇️
...in/java/redis/clients/jedis/JedisClientConfig.java 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread src/main/java/redis/clients/jedis/Connection.java
Comment thread src/main/java/redis/clients/jedis/Connection.java
Comment thread src/main/java/redis/clients/jedis/JedisClientConfig.java Outdated
@sazzad16 sazzad16 marked this pull request as ready for review September 4, 2023 06:07
Comment thread src/test/java/redis/clients/jedis/JedisTest.java Outdated
return false;
}

default String libNameSuffix() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please document here the requirements for the libNameSuffix:
" " < c && c != "(" && c != ")" && c < "~"

Comment thread src/main/java/redis/clients/jedis/Connection.java
@sazzad16 sazzad16 requested a review from uglide September 12, 2023 14:09
@sazzad16

Copy link
Copy Markdown
Contributor Author

@uglide @yangbodong22011 ping

@sazzad16 sazzad16 removed the request for review from chayim September 13, 2023 07:56
@sazzad16 sazzad16 merged commit 14591c8 into redis:master Sep 13, 2023
@sazzad16 sazzad16 deleted the setlib-extend branch September 13, 2023 07:56
sazzad16 added a commit that referenced this pull request Sep 14, 2023
* Extend CLIENT SETINFO support

* Modify JedisMetaInfo

* Fix custom lib name and ver

* Remove version suffix

* Separate ClientSetInfoConfig

* Address braces

* Rename method to isDisabled
@sazzad16 sazzad16 modified the milestones: 5.1.0, 5.0.1 Sep 19, 2023
@sazzad16 sazzad16 modified the milestones: 5.0.1, 4.4.x Dec 12, 2023
@sazzad16 sazzad16 modified the milestones: 4.4.x, 4.4.5 Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clients should identify themselves on connect Sporadic "Unknown reply: ?" exception on Jedis 4.X

5 participants