Skip to content

Conversation

@ScottDugas
Copy link
Collaborator

Shortly before ResolvedKeySpacePath was introduced, KeySpacePathImpl would store the resolved tuple and remainder in itself.
The methods around this have been deprecated for years.
More pressingly, what having this value means is that if you have a KeySpacePath that is generated from KeySpaceDirectorys and call toTuple or toSubspace it will resolve in the context that you provide, but if that KeySpacePath came from resolving a key then toTuple / toSubspace will contain the original directory-layer mappings, which could be problematic if the provided context is not on the same cluster.

Shortly before ResolvedKeySpacePath was introduced, KeySpacePathImpl
would store the resolved tuple and remainder in itself.
The methods around this have been deprecated for years.
More pressingly, what having this value means is that if you have
a KeySpacePath that is generated from KeySpaceDirectorys and call
toTuple or toSubspace it will resolve in the context that you
provide, but if that KeySpacePath came from resolving a key then
toTuple / toSubspace will contain the original directory-layer
mappings, which could be problematic if the provided context
is not on the same cluster.
@ScottDugas ScottDugas added the breaking change Changes that are not backwards compatible label Oct 29, 2025
@ScottDugas ScottDugas marked this pull request as ready for review October 31, 2025 01:07
@ScottDugas ScottDugas force-pushed the remove-old-key-space-from-tuple branch from b830d5f to ec075d2 Compare November 3, 2025 19:50
@ScottDugas
Copy link
Collaborator Author

@ohadzeliger fixed the javadoc separately, so I dropped b830d5f leaving behind just the original commit: ec075d2

@ScottDugas ScottDugas requested a review from MMcM November 3, 2025 19:51
@ScottDugas ScottDugas changed the title Remove old key space from tuple Remove deprecated methods on KeySpace and KeySpacePath related to caching the resolved value Nov 3, 2025
@ScottDugas ScottDugas changed the title Remove deprecated methods on KeySpace and KeySpacePath related to caching the resolved value Remove deprecated KeySpacePath methods related to caching the resolved value, and associated list methods on KeySpace Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Changes that are not backwards compatible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants