-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Improve serialization of big integer in Lucene.java #19348
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
base: main
Are you sure you want to change the base?
Conversation
|
❌ Gradle check result for cfdf651: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for cfdf651: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sandesh Kumar <[email protected]>
|
Since we're changing the read/write logic, we'll need to handle bwc, e.g. use version check, right? |
|
❌ Gradle check result for 4891b5f: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
@asimmahmood1 You are correct regarding backward compatibility. I guess the latest gradle checks verify this with mixed cluster tests failing: Wondering if whether should we place boolean check on version or to just not do it all. Let me see if any benchmarking can help here to take the decision. |
|
This PR is stalled because it has been open for 30 days with no activity. |
Description
Lucene.javaResolves:// TODO: improve serialization of BigIntegerby changing serialization/de-serialization in this manner:case BigInteger i -> out.writeString(field.toString());->case BigInteger i -> out.writeByteArray(i.toByteArray());case 10 -> new BigInteger(in.readString());->case 10 -> new BigInteger(in.readByteArray());if-elsetoswitchcasesRelated Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.