Comments (6)
你是觉得当前有问题还是 @lylei 的pr #181 有问题啊
from bfs.
当前有问题
from bfs.
最后一个LocalWriteBlock时肯定成立啊,因为最后一个肯定会触发slidingwindow的Notify,然后检查IsComplete
from bfs.
slidingwindow的Notify是按包的顺序来的,如果最后一个包之前的几个包卡了呢?
from bfs.
滑动窗口是乱序进顺序出的,时间上最后一个调用Notify的并不一定是文件顺序上的最后一个,但是这时候文件顺序上的最后一个包肯定已经到了。。不知道说明白了没。。确实有点绕==
from bfs.
想通了。从LocalWriteBlock到SlidingWindow::Add到Notify再到Block::Append这一条链中没有异步调用,这样就没问题了。
我的错。。。
from bfs.
Related Issues (20)
- Support S3 compatible interface
- sdk bfs_get、bfs_put返回值问题
- bfs_client can not put file HOT 2
- windows HOT 1
- Can't change mount_point owner HOT 3
- metaserver无法编译的问题 HOT 1
- SDK中的bfs_change_replica_num接口无法使用 HOT 4
- BFS 文件读写没有权限认证,用户认证机制吗 HOT 4
- 代码无法编译 HOT 1
- 如何实现对BFS上非空文件的写操作? HOT 4
- bfs_chmod()接口一直返回 -1,bad parameter. HOT 1
- 请问src/sdk/file_impl.h中FileImpl::located_blocks_在哪儿初始化的,FileImpl::Pread直接就使用了?
- 接口实现问题
- libunwind-0.99编译失败 HOT 4
- 请问如何支持spark框架 HOT 1
- 怎么做文件备份呢?
- Q: bfs 的副本一致性模型是什么?
- 无法编译,显示缺少#include "config.h"
- 无法编译,显示缺少#include "config.h"
- bai
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfs.