fixed invalid last key bug of logstorage (in multi-threaded import scenario)