PKUHPC / OpenSCOW

Super Computing On Web
https://www.pkuscow.com/
Mulan Permissive Software License, Version 2
221 stars 50 forks source link

fix(mis-server): mis-server 启动时不再同步适配器账户状态,同步状态时保证单个账户事务的原子性 #1368

Closed tongchong closed 4 months ago

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 785afcecaae1741c2e77abd3c94ae57552ca2a7c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | ------------------- | ----- | | @scow/mis-server | Patch | | @scow/auth | Patch | | @scow/gateway | Patch | | @scow/mis-web | Patch | | @scow/portal-server | Patch | | @scow/portal-web | Patch | | @scow/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vanstriker commented 4 months ago

对单个账户进行查询 是啥意思?是不是直接起来就行,不去调适配器?

tongchong commented 4 months ago

对单个账户进行查询 是啥意思?是不是直接起来就行,不去调适配器?

是我表达不到位,是将每次的同步放到一个事务里面,而不是一次查询很多个账户然后再去变更