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

Dev fix update sources in修复更新数据源之后,可能另外一个机器上部署的服务没更新 #2355fo #2356

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

KANLON
Copy link
Contributor

@KANLON KANLON commented Dec 26, 2024

因为datart可能多机器部署,目前接口更新数据源的链接信息是只更新有调用更新数据源接口的那个服务的,在多个服务多机器部署的情况下,可能另外一个服务就没更新了,

所以这里我每次执行sql之前先简单对比目前缓存了的数据源和数据库中的数据源信息是否一样,不一样则更新,这里先处理jdbc的数据源了,因为大部分报表都是jdbc的数据源

put /sources

修复更新数据源之后,可能另外一个机器上部署的服务没更新

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.

1 participant