Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move dist_internal functions to _timescaledb_functions schema #5992

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Aug 21, 2023

To increase schema security we do not want to mix our own internal objects with user objects. Since chunks are created in the _timescaledb_internal schema our internal functions should live in a different dedicated schema. This patch make the necessary adjustments for the following functions:

  • set_dist_id(uuid)
  • set_peer_dist_id(uuid)
  • validate_as_data_node()
  • show_connection_cache()
  • ping_data_node(name, interval)
  • remote_txn_heal_data_node(oid)

Disable-check: force-changelog-file

To increase schema security we do not want to mix our own internal
objects with user objects. Since chunks are created in the
_timescaledb_internal schema our internal functions should live in
a different dedicated schema. This patch make the necessary
adjustments for the following functions:

- set_dist_id(uuid)
- set_peer_dist_id(uuid)
- validate_as_data_node()
- show_connection_cache()
- ping_data_node(name, interval)
- remote_txn_heal_data_node(oid)
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #5992 (043fe16) into main (0a66bdb) will decrease coverage by 0.05%.
Report is 4 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5992      +/-   ##
==========================================
- Coverage   87.02%   86.98%   -0.05%     
==========================================
  Files         243      243              
  Lines       56006    55960      -46     
  Branches    12403    12384      -19     
==========================================
- Hits        48742    48679      -63     
+ Misses       4925     4916       -9     
- Partials     2339     2365      +26     
Files Changed Coverage Δ
tsl/src/remote/connection.c 84.07% <ø> (-0.10%) ⬇️
tsl/test/src/remote/txn_resolve.c 100.00% <ø> (ø)
tsl/src/data_node.c 91.53% <100.00%> (ø)

... and 39 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@svenklemm svenklemm enabled auto-merge (rebase) August 22, 2023 07:16
@svenklemm svenklemm merged commit 4256009 into timescale:main Aug 22, 2023
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants