File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -538,32 +538,6 @@ Status VOlapTablePartitionParam::init() {
538538 }
539539 }
540540
541- // Debug: dump all partitions BE currently holds
542- if (_is_in_partition) {
543- LOG (WARNING) << " === BE PARTITIONS (LIST) count=" << _partitions.size ();
544- for (auto * part : _partitions) {
545- LOG (WARNING) << " Partition id=" << part->id << " in_keys=" << part->in_keys .size ();
546- for (size_t ik = 0 ; ik < part->in_keys .size (); ++ik) {
547- auto & br = part->in_keys [ik];
548- LOG (WARNING) << " in_key[" << ik
549- << " ]: " << br.first ->dump_data_json (br.second , 1 );
550- }
551- }
552- } else {
553- LOG (WARNING) << " === BE PARTITIONS (RANGE) count=" << _partitions.size ();
554- for (auto * part : _partitions) {
555- std::string start =
556- part->start_key .second == -1
557- ? std::string (" (min)" )
558- : part->start_key .first ->dump_data_json (part->start_key .second , 1 );
559- std::string end = part->end_key .second == -1 ? std::string (" (max)" )
560- : part->end_key .first ->dump_data_json (
561- part->end_key .second , 1 );
562- LOG (WARNING) << " Partition id=" << part->id << " range: [" << start << " , " << end
563- << " )" ;
564- }
565- }
566-
567541 _mem_usage = _partition_block.allocated_bytes ();
568542 _mem_tracker->consume (_mem_usage);
569543 return Status::OK ();
You can’t perform that action at this time.
0 commit comments