@@ -50,23 +50,29 @@ 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 ());
54+ }
55+ for (auto it : SourcesSequentially) {
56+ AFL_ERROR (NKikimrServices::TX_COLUMNSHARD)(" SourcesSequentially" , it->GetSourceId ());
5457 }
5558 if (FindIf (Iterators, [&](const auto & item) { return item.GetSourceId () == source->GetSourceId (); }) != Iterators.end ()) {
5659 AFL_VERIFY (Iterators.front ().GetSourceId () == source->GetSourceId ())(" issue #28037" , " portion is in heap" )
5760 (" front" , Iterators.front ().DebugString ())
61+ (" back" , Iterators.back ().DebugString ())
5862 (" source" , source->GetAs <TPortionDataSource>()->GetStart ().DebugString ())
5963 (" source_id" , source->GetSourceId ());
6064 }
61- else if (Find (DebugOrder, source->GetSourceId ()) != DebugOrder.end ()) {
65+ else if (FindIf (DebugOrder, [&]( const auto & item) { return item. GetSourceId () == source->GetSourceId (); } ) != DebugOrder.end ()) {
6266 AFL_VERIFY (Iterators.front ().GetSourceId () == source->GetSourceId ())(" issue #28037" , " known portion, not in heap" )
6367 (" front" , Iterators.front ().DebugString ())
68+ (" back" , Iterators.back ().DebugString ())
6469 (" source" , source->GetAs <TPortionDataSource>()->GetStart ().DebugString ())
6570 (" source_id" , source->GetSourceId ());
6671 }
6772 else {
6873 AFL_VERIFY (Iterators.front ().GetSourceId () == source->GetSourceId ())(" issue #28037" , " unknown portion" )
6974 (" front" , Iterators.front ().DebugString ())
75+ (" back" , Iterators.back ().DebugString ())
7076 (" source" , source->GetAs <TPortionDataSource>()->GetStart ().DebugString ())
7177 (" source_id" , source->GetSourceId ());
7278 }
@@ -112,6 +118,7 @@ TString TSyncPointLimitControl::TSourceIterator::DebugString() const {
112118 sb << " f=" << IsFilled () << " ;" ;
113119 sb << " record=" << SortableRecord->DebugJson () << " ;" ;
114120 sb << " start=" << Source->GetAs <TPortionDataSource>()->GetStart ().DebugString () << " ;" ;
121+ sb << " finish=" << Source->GetAs <TPortionDataSource>()->GetFinish ().DebugString () << " ;" ;
115122 return sb;
116123}
117124
0 commit comments