Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1908

Applying deletes and/or reinserts causes a crash

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: tablet
    • Labels:
      None
    • Target Version/s:

      Description

      I got this while running fuzz-itest. Will follow up with a test log and the sequence of ops

      F0303 02:01:10.780256 20276 deltafile.cc:732] Check failed: !sel_vec->IsRowSelected(rel_idx) 
      *** Check failure stack trace: ***
          @     0x7f860b06efdd  google::LogMessage::Fail() at ??:0
          @     0x7f860b070edd  google::LogMessage::SendToLog() at ??:0
          @     0x7f860b06eb19  google::LogMessage::Flush() at ??:0
          @     0x7f860b07197f  google::LogMessageFatal::~LogMessageFatal() at ??:0
          @     0x7f861495736a  kudu::tablet::LivenessVisitor<>::ApplyDelete() at ??:0
          @     0x7f8614953d37  kudu::tablet::LivenessVisitor<>::Visit() at ??:0
          @     0x7f86149581ac  kudu::tablet::DeltaFileIterator::VisitMutations<>() at ??:0
          @     0x7f8614950bb0  kudu::tablet::DeltaFileIterator::ApplyDeletes() at ??:0
          @     0x7f86149731a3  kudu::tablet::DeltaIteratorMerger::ApplyDeletes() at ??:0
          @     0x7f861496d40d  kudu::tablet::DeltaApplier::InitializeSelectionVector() at ??:0
          @     0x7f860ec478c9  kudu::MaterializingIterator::MaterializeBlock() at ??:0
          @     0x7f860ec47725  kudu::MaterializingIterator::NextBlock() at ??:0
          @     0x7f860ec4c38c  kudu::MergeIterState::PullNextBlock() at ??:0
          @     0x7f860ec445b8  kudu::MergeIterator::Init() at ??:0
          @     0x7f8614851a1f  kudu::tablet::Tablet::Iterator::Init() at ??:0
          @     0x7f8615307ad5  kudu::tserver::TabletServiceImpl::HandleNewScanRequest() at ??:0
          @     0x7f8615303370  kudu::tserver::TabletServiceImpl::Scan() at ??:0
          @     0x7f8610ac9d1a  _ZZN4kudu7tserver21TabletServerServiceIfC4ERK13scoped_refptrINS_12MetricEntityEERKS2_INS_3rpc13ResultTrackerEEENKUlPKN6google8protobuf7MessageEPSE_PNS7_10RpcContextEE4_clESG_SH_SJ_ at ??:0
          @     0x7f8610acc503  _ZNSt17_Function_handlerIFvPKN6google8protobuf7MessageEPS2_PN4kudu3rpc10RpcContextEEZNS6_7tserver21TabletServerServiceIfC4ERK13scoped_refptrINS6_12MetricEntityEERKSD_INS7_13ResultTrackerEEEUlS4_S5_S9_E4_E9_M_invokeERKSt9_Any_dataS4_S5_S9_ at ??:0
          @     0x7f860f748c58  std::function<>::operator()() at ??:0
          @     0x7f860f7484b3  kudu::rpc::GeneratedServiceIf::Handle() at ??:0
          @     0x7f860f74b043  kudu::rpc::ServicePool::RunThread() at ??:0
          @     0x7f860f74c2dd  boost::_mfi::mf0<>::operator()() at ??:0
          @     0x7f860f74c104  boost::_bi::list1<>::operator()<>() at ??:0
          @     0x7f860f74bff9  boost::_bi::bind_t<>::operator()() at ??:0
          @     0x7f860f74bf30  boost::detail::function::void_function_obj_invoker0<>::invoke() at ??:0
          @     0x7f860f70b2ae  boost::function0<>::operator()() at ??:0
          @     0x7f860bf6aa21  kudu::Thread::SuperviseThread() at ??:0
          @     0x7f8611f7b184  start_thread at ??:0
          @     0x7f86091ca37d  clone at ??:0
          @              (nil)
      

        Attachments

        1. fuzz-itest.txt.zip
          1.95 MB
          David Alves

          Activity

            People

            • Assignee:
              andrew.wong Andrew Wong
              Reporter:
              dralves David Alves
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: