final int mapedFileSize =
this.defaultMessageStore.getMessageStoreConfig().getTranStateTableMapedFileSize();
final long offset = tsOffset * TSStoreUnitSize;
MapedFile mapedFile = this.tranStateTable.findMapedFileByOffset(offset);
if (mapedFile != null) {
SelectMapedBufferResult result = mapedFile.selectMapedBuffer((int) (offset % mapedFileSize));
return result;
}
return null;
}