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

同步时的漏包问题 #138

Open
afc163 opened this issue Apr 29, 2015 · 1 comment
Open

同步时的漏包问题 #138

afc163 opened this issue Apr 29, 2015 · 1 comment
Assignees

Comments

@afc163
Copy link
Member

afc163 commented Apr 29, 2015

现在每次同步是查询上次同步到这次同步之间更新的包

假设远程源上有包A,同步下来后,在本地源进行了删除。则再次更新时查询包 A 不会包含在 上次同步到这次同步之间更新的包 中。导致始终无法同步。

原因是在比较两端差异时只考虑了远程源的更新,没有考虑本地源的删除。(或者这里考虑本地源就是需要删除?)

两种解决方案:

  1. 对于远程源上有但本地源不存在的包,仍然要进行同步。
  2. 提供单独的强制同步指定包的功能。
@sorrycc
Copy link
Member

sorrycc commented May 7, 2015

内网源也遇到了类似问题了,achart-plot 在同步的时候漏了一个 1.1.3 的包,但是 index.json 却是同步好的。

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

No branches or pull requests

2 participants