You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "jerqi (via GitHub)" <gi...@apache.org> on 2024/08/30 09:56:09 UTC
[PR] [#4812] fix(core): Make ensure the schema exists before creating tables and topics [gravitino]
jerqi opened a new pull request, #4818:
URL: https://github.com/apache/gravitino/pull/4818
### What changes were proposed in this pull request?
If the schema is not created by Gravitino, the Gravitino will lack the metadata in the backend storage.
If we create a table in this schema, the storage won't contain the metadata. So it will fail to set owner. Because the storage won't store the table. Because the storage won't contain schema id.
This won't bring too much performance cost. Because loadSchema will use read lock after first loading. If we have cache, we could be more quick.
### Why are the changes needed?
Fix: #4812
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Added a ut.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4812] fix(core): Make ensure the schema exists before creating tables and topics [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #4818:
URL: https://github.com/apache/gravitino/pull/4818#issuecomment-2320833350
@jerqi
Please resolve the conflicts if you have time.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4812] fix(core): Make ensure the schema exists before creating tables and topics [gravitino]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #4818:
URL: https://github.com/apache/gravitino/pull/4818#issuecomment-2321376884
> @jerqi Please resolve the conflicts if you have time.
CI passed.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4812] fix(core): Make ensure the schema exists before creating tables and topics [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 merged PR #4818:
URL: https://github.com/apache/gravitino/pull/4818
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org