Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27385

Rs shut down because of DroppedSnapshotException when memstore flushing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • regionserver
    • None

    Description

      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;

      Attachments

        Activity

          People

            Unassigned Unassigned
            johou xufeng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: