avamingli commented on issue #989:
URL: https://github.com/apache/cloudberry/issues/989#issuecomment-2723717505
> and something bad may be behind the failure, because segfile_count is not
assigned any more. It's assigned before as:
>
> ```
> /*
> * When Parallel index build,there is no additional operation to update
the number of tuples
> * that supports this logic. Uniform processing is used here.
> */
> if (progress)
> {
> seginfo = GetAllFileSegInfo(heapRelation, snapshot,
&segfile_count, NULL);
> for (int seginfo_no = 0; seginfo_no < segfile_count;
seginfo_no++)
> {
> total_blockcount += seginfo[seginfo_no]->varblockcount;
> }
> pgstat_progress_update_param(PROGRESS_SCAN_BLOCKS_TOTAL,
total_blockcount);
> }
> ```
>
> git blame show that it's changed by
[#897](https://github.com/apache/cloudberry/pull/897)
>
> [@reshke](https://github.com/reshke)
[@yjhjstz](https://github.com/yjhjstz) [@x4m](https://github.com/x4m)
[@my-ship-it](https://github.com/my-ship-it)
[@leborchuk](https://github.com/leborchuk)
Could someone please review this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]