You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "xufeng (Jira)" <ji...@apache.org> on 2022/09/22 06:21:00 UTC

[jira] [Created] (HBASE-27385) Rs shut down because of DroppedSnapshotException when memstore flushing

xufeng created HBASE-27385:
------------------------------

             Summary: Rs shut down because of DroppedSnapshotException when memstore flushing
                 Key: HBASE-27385
                 URL: https://issues.apache.org/jira/browse/HBASE-27385
             Project: HBase
          Issue Type: Bug
          Components: regionserver
    Affects Versions: 1.0.0
            Reporter: xufeng


After memstore be flushed, flush marker will be writed to WAL.
But current wal being rolled now, the DroppedSnapshotException will happen.

      if (wal != null) {
        // write flush marker to WAL. If fail, we should throw DroppedSnapshotException
        FlushDescriptor desc = ProtobufUtil.toFlushDescriptor(FlushAction.COMMIT_FLUSH,
          getRegionInfo(), flushOpSeqId, committedFiles);
        WALUtil.writeFlushMarker(wal, this.htableDescriptor, getRegionInfo(),
          desc, sequenceId, true);
      }
    } catch (Throwable t) {
.......

      DroppedSnapshotException dse = new DroppedSnapshotException("region: " +
          Bytes.toStringBinary(getRegionName()));
      dse.initCause(t);
      status.abort("Flush failed: " + StringUtils.stringifyException(t));
      throw dse;



--
This message was sent by Atlassian Jira
(v8.20.10#820010)