Skip to content

Conversation

@onurctirtir
Copy link
Member

@onurctirtir onurctirtir commented Sep 4, 2025

DESCRIPTION: Stops on-demand statistics collection for clusters and deprecates citus.enable_statistics_collection GUC.

@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.12%. Comparing base (95477e6) to head (c7a55c8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8174      +/-   ##
==========================================
+ Coverage   88.95%   89.12%   +0.17%     
==========================================
  Files         287      286       -1     
  Lines       63136    63006     -130     
  Branches     7941     7928      -13     
==========================================
- Hits        56163    56156       -7     
+ Misses       4663     4539     -124     
- Partials     2310     2311       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@onurctirtir
Copy link
Member Author

onurctirtir commented Sep 4, 2025

Should remove citus_server_id() in 14.0 sql script once #8170 is merged.

update: No, won't remove it as it's still indirectly used by IsWorkerTheCurrentNode(). In other words, we should still have server_id in pg_dist_node_metadata, which is generated by citus_server_id().

docdir
oldincludedir
includedir
runstatedir
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are the runstatedir changes related to this diff or an accident.

a quick search only shows the term in the configure section, so it seems unrelated, but didn't look deeply

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really sure why but when I revert everything and reapply the changes one by one again (i.e., do the C changes, remove libcurl & reports related bits from ac file and re-run autoreconf -f), again I got the exactly same patch, with autoconf == 2.69, which already seems to be the version we've been using based on the comments on top of configure

* modeled after PostgreSQL's pg_random_uuid().
*/
Datum
citus_server_id(PG_FUNCTION_ARGS)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved from src/backend/distributed/utils/statistics_collection.c as is

@onurctirtir onurctirtir enabled auto-merge (squash) September 19, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants