@@ -50,23 +50,26 @@ ISyncPoint::ESourceAction TSyncPointLimitControl::OnSourceReady(
5050 AFL_ERROR (NKikimrServices::TX_COLUMNSHARD)(" Iterator" , it.DebugString ());
5151 }
5252 for (auto it : DebugOrder) {
53- AFL_ERROR (NKikimrServices::TX_COLUMNSHARD)(" DebugOrder" , it);
53+ AFL_ERROR (NKikimrServices::TX_COLUMNSHARD)(" DebugOrder" , it. DebugString () );
5454 }
5555 if (FindIf (Iterators, [&](const auto & item) { return item.GetSourceId () == source->GetSourceId (); }) != Iterators.end ()) {
5656 AFL_VERIFY (Iterators.front ().GetSourceId () == source->GetSourceId ())(" issue #28037" , " portion is in heap" )
5757 (" front" , Iterators.front ().DebugString ())
58+ (" back" , Iterators.back ().DebugString ())
5859 (" source" , source->GetAs <TPortionDataSource>()->GetStart ().DebugString ())
5960 (" source_id" , source->GetSourceId ());
6061 }
61- else if (Find (DebugOrder, source->GetSourceId ()) != DebugOrder.end ()) {
62+ else if (FindIf (DebugOrder, [&]( const auto & item) { return item. GetSourceId () == source->GetSourceId (); } ) != DebugOrder.end ()) {
6263 AFL_VERIFY (Iterators.front ().GetSourceId () == source->GetSourceId ())(" issue #28037" , " known portion, not in heap" )
6364 (" front" , Iterators.front ().DebugString ())
65+ (" back" , Iterators.back ().DebugString ())
6466 (" source" , source->GetAs <TPortionDataSource>()->GetStart ().DebugString ())
6567 (" source_id" , source->GetSourceId ());
6668 }
6769 else {
6870 AFL_VERIFY (Iterators.front ().GetSourceId () == source->GetSourceId ())(" issue #28037" , " unknown portion" )
6971 (" front" , Iterators.front ().DebugString ())
72+ (" back" , Iterators.back ().DebugString ())
7073 (" source" , source->GetAs <TPortionDataSource>()->GetStart ().DebugString ())
7174 (" source_id" , source->GetSourceId ());
7275 }
@@ -112,6 +115,7 @@ TString TSyncPointLimitControl::TSourceIterator::DebugString() const {
112115 sb << " f=" << IsFilled () << " ;" ;
113116 sb << " record=" << SortableRecord->DebugJson () << " ;" ;
114117 sb << " start=" << Source->GetAs <TPortionDataSource>()->GetStart ().DebugString () << " ;" ;
118+ sb << " finish=" << Source->GetAs <TPortionDataSource>()->GetFinish ().DebugString () << " ;" ;
115119 return sb;
116120}
117121
0 commit comments