You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by Wail Alkowaileet <wa...@gmail.com> on 2018/12/14 01:07:39 UTC

LogRecord format change

Dev,

As filed in ASTERIXDB-2491
<https://issues.apache.org/jira/browse/ASTERIXDB-2491>, changing the Log
Record format to have offsets of type Integer32 instead of Integer16 breaks
the back-compatibility for customers who wish to update their binaries.

There're two Log types that would be affected by this change: *UPDATE* and
*FILTER* log types. I found that the safest approach is to introduce two
new types of logs: *UPDATE_V2* and *FILTER_V2*. Both of which would have
field-ends' offsets of type Integer32 instead of Integer16 for their
values. To prevent such issue in the future, I was thinking of introducing
a version number for the value format. This would allow us to change the
value's format without introducing new Log Type.

Thoughts?

-- 

*Regards,*
Wail Alkowaileet