Skip to content

Conversation

@sazzad16
Copy link
Contributor

  • This is similar to SafeEncoder.encode(String).
  • This helps JedisClusterCommand specially in case of multi key operations.

Also includes,

  • Move CRC16 tests in one place.
  • Fix a wrong usage of DEFAULT_REDIRECTIONS.

Also, fixed a wrong usage of DEFAULT_REDIRECTIONS.
- This is similar to SafeEncoder.encode(String).
- This helps JedisClusterCommand specially in case of multi key operations.
@sazzad16
Copy link
Contributor Author

@marcosnils @HeartSaVioR

@marcosnils
Copy link
Contributor

marcosnils commented Aug 12, 2018

LGTM. Can be merged after rebased. Shouldn't we schedule it for 2.9.1?. Seems like a bugfix to me.

@sazzad16
Copy link
Contributor Author

@marcosnils 3.0.0 is the one to go for. Because

  1. Previously, a null key would cause NullPointerException. What if people have implementation catching this one?

  2. JedisClusterOperationException is only available in 3.0.0.

@marcosnils
Copy link
Contributor

Previously, a null key would cause NullPointerException. What if people have implementation catching this one?

This is a bug and shouldn't be thrown.

JedisClusterOperationException is only available in 3.0.0.

We can't do anything about this. Let's schedule it for 3.0 then :)

@sazzad16 sazzad16 merged commit cf31202 into redis:master Aug 13, 2018
@sazzad16
Copy link
Contributor Author

Merged into master.

@sazzad16 sazzad16 deleted the cluster-command-null-empty-2 branch August 13, 2018 06:00
joyang1 pushed a commit to joyang1/jedis that referenced this pull request Dec 27, 2018
* This is similar to SafeEncoder.encode(String).
* This helps JedisClusterCommand specially in case of multi key operations.

Also includes,
* Move CRC16 tests in one place.
* Fix a wrong usage of DEFAULT_REDIRECTIONS.
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.

2 participants