raftstore: Fix compaction guard panic on non-data key (#11294)
raftstore: Fix compaction guard panic on non-data key (#11294)

* close #11290 fix compaction guard panic on non-data key

Signed-off-by: Connor1996 <f7e3376ac32ecd54ff96995c24a9472cac06d4cb@gmail.com>

* add comment

Signed-off-by: Connor1996 <f7e3376ac32ecd54ff96995c24a9472cac06d4cb@gmail.com>
BusyJay/tikv,BusyJay/tikv,BusyJay/tikv,BusyJay/tikv