🔄 Sync with upstream changes#17
Open
h0lybyte wants to merge 506 commits into
Open
Conversation
Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
* Application.fetch_env! does an ETS lock on every single read and we do it across several high volume areas of the service * Map.drop removed as Jason already tackles this and this will prevent map copy * Always use gen_rpc as the communication method between cluster
with push metrics available this code is no longer required and adds bloat to the system
Emit telemetry errors on all log errors
…upabase#1787) * fix: ensure RateCounter avg is always per second * fix: change tenant rate counters to tick every 5 seconds
Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
* chore: update @supabase/supabase-js to v2.108.2 * chore: update nix node_modules hash --------- Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com> Co-authored-by: supabase-autofix-bot <noreply@supabase.com>
To support the recommended client-id
Instead of always deleting the subscriptions table when SubscriptionManager starts we: * warm restarts now re-adopt ETS and re-monitor subscribers * cold start cleans up the DB Orphan processes are not a problem because ReplicationPoller simply broadcasts if it can't find the pid related to the subscription row
Increase default ReplicationConnection timeout from 30 seconds to 4 minutes to give more times for really busy databases to establish a replication slot. Also move creating the replication slot to happen after the publication is there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream Sync
This PR contains the latest changes from the upstream repository.
Changes included:
Review checklist:
This PR was automatically created by the upstream sync workflow