Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Storage Execution
Description
KeyStrings used for read(query) and write(index insertion) are quite different in its internal format: read KeyStrings always have discriminator at the end while write KeyStrings most of the time have RecordId in it. There is no easy way to quickly tell whether a KeyString is used for read or write. And people could misuse the encode/decode methods.
We should define better contracts or have different versions for KeyStrings.
Attachments
Issue Links
- is related to
-
SERVER-43178 Don't append the end byte to KeyStrings that use a discriminator
-
- Backlog
-