-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.17] refactor: use the original from/to values when creating the bu…
…cket (#83262) (#83339) The range bucket values should always be set to the original `from` and `to` values. These values are the ones used by the serialisation logic and are the values the client expects in the response. Also, the key for a Range is made optional, avoiding unnecessary serialisation and deserialisation and the actual key generation happens only if required (calling 'getKey' or 'getKeyAsString' directly or at key serialisation time). A Range does not actually need a key to accomplish its purpose ('from' and 'to' are the only required parameters), other than propagating a user-specified key for the bucket collecting documents for that range. (cherry picked from commit a03cd92)
- Loading branch information
1 parent
8f5f8cf
commit 7f5623f
Showing
12 changed files
with
107 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.