这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rakeshkky
Copy link
Member

@rakeshkky rakeshkky commented Feb 5, 2020

Description

This PR fixes the following issues:-

#3784 - Event triggers are lost on run_sql DDL queries.
#3803 - Event trigger is being wiped on recreating

Affected components

  • Server

Related Issues

#3784 #3803

Solution and Design

3784:- Recreate all event triggers at the end of a run_sql DDL query.
3803:- Move delete trigger logic to build schema cache. If ops definition changes, the trigger is deleted (if exists) and created again with updated definition.

Steps to test and verify

  • Performing a run_sql query with DDL statement shouldn't drop any trigger procedures in the hdb_views schema
  • Updating the event trigger's webhook URL shouldn't drop the trigger procedure in the hdb_views schema.

Limitations, known bugs & workarounds

Server checklist

Catalog upgrade

Does this PR change Hasura Catalog version?

  • No
  • Yes

Metadata

Does this PR add a new Metadata feature?

  • No
  • Yes

GraphQL

  • No new GraphQL schema is generated
  • New GraphQL schema is being generated:

Breaking changes

  • No Breaking changes
  • There are breaking changes

@rakeshkky rakeshkky added the c/server Related to server label Feb 5, 2020
@rakeshkky rakeshkky self-assigned this Feb 5, 2020
@netlify
Copy link

netlify bot commented Feb 5, 2020

Deploy preview for hasura-docs ready!

Built with commit 6ae1d91

https://deploy-preview-3833--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit 6ae1d91 deployed to Heroku: https://hge-ci-pull-3833.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3833-6ae1d913

@rakeshkky rakeshkky force-pushed the issue-3784-3803-et-bugs branch from 6ae1d91 to 8a7f3d8 Compare February 5, 2020 09:10
@hasura-bot
Copy link
Contributor

Review app for commit 8a7f3d8 deployed to Heroku: https://hge-ci-pull-3833.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3833-8a7f3d81

@rakeshkky rakeshkky force-pushed the issue-3784-3803-et-bugs branch from 8a7f3d8 to 76267a6 Compare February 5, 2020 09:56
@rakeshkky rakeshkky marked this pull request as ready for review February 5, 2020 09:57
@hasura-bot
Copy link
Contributor

Review app for commit 76267a6 deployed to Heroku: https://hge-ci-pull-3833.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3833-76267a60

@hasura-bot
Copy link
Contributor

Review app for commit 0a654bb deployed to Heroku: https://hge-ci-pull-3833.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3833-0a654bb9

@0x777 0x777 merged commit 7fb6577 into hasura:master Feb 5, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-3833.herokuapp.com is deleted

polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
…#3803 hasura#3784 (hasura#3833)

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants