Revert "Replace opensearch class names with opendistro class names during serialization and restore them back during deserialization (#1278)"#1691
Conversation
…ring serialization and restore them back during deserialization (opensearch-project#1278)" This reverts commit 4abbafc. Signed-off-by: cliu123 <lc12251109@gmail.com>
|
@cliu123 Could you add a little detail for why we are reverting this change? At first glance, it seems like we are loosing a level of backward compatibility |
Sure. This PR being reverted is one of the things that would be broken by JDK17. JDK17 support got postponed to 2.0 because we'd like to keep the commits like this one being reverted to support rolling upgrade from ODFE/ES versions to OpenSearch 1.x. But in 2.0, we can revert them to unblock JDK17 since we won't need to support rolling upgrade directly from ODFE/ES versions to OpenSearch 2.0. The upgrade path ODFE -> OpenSearch 1.x -> OpenSearch 2.0 will still be retained. |
|
Thanks for the details, I'm going to update the description of this PR to include those details and tag it |
…ring serialization and restore them back during deserialization (opensearch-project#1278)" (opensearch-project#1691) This reverts commit 4abbafc. Signed-off-by: cliu123 <lc12251109@gmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1691 +/- ##
============================================
- Coverage 62.94% 62.89% -0.06%
+ Complexity 3261 3259 -2
============================================
Files 253 253
Lines 18126 18087 -39
Branches 3258 3255 -3
============================================
- Hits 11410 11375 -35
+ Misses 5067 5063 -4
Partials 1649 1649
🚀 New features to boost your workflow:
|
Description
This PR being reverted is one of the things that would be broken by JDK17. JDK17 support got postponed to 2.0 because we'd like to keep the commits like this one being reverted to support rolling upgrade from ODFE/ES versions to OpenSearch 1.x. But in 2.0, we can revert them to unblock JDK17 since we won't need to support rolling upgrade directly from ODFE/ES versions to OpenSearch 2.0. The upgrade path ODFE -> OpenSearch 1.x -> OpenSearch 2.0 will still be retained.
This reverts commit 4abbafc.
Signed-off-by: cliu123 lc12251109@gmail.com
Issues Resolved
#1653
Testing
UT
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.