You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
db: add fallback behavior if ShortAttributeExtractor errors
When separating a value, we call a user-provided 'ShortAttributeExtractor' to
extract a few bits of data from the value. These bits, known as the 'short
attribute', are stored in-place with the sstable key for fast retrieval.
Previously, if the user-provided ShortAttributeExtractor errored, the calling
flush or compaction would abort and bubble the error up. If this was during a
flush, the engine was unable to make progress, repeatedly attempting to flush a
key that cannot be flushed.
This commit updates the logic to fallback to storing a value in-place if the
short attribute extractor is unable to parse a value. The error is still
surfaced through the PossibleAPIMisuse event.
0 commit comments