In follow-up discussion to
HBASE-11620, Enis brought up this point:
Related to this, should not we also write the CellCodec that we use in the WAL header. Right now, the codec comes from the configuration which means that you cannot read back the WAL files if you change the codec.
This JIRA is to implement the above suggestion.