-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
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.
- is related to
-
SERVER-43178 Don't append the end byte to KeyStrings that use a discriminator
- Closed