chorddfs's Issues
Flushing data error
When log files reach ~70 bytes, there seems to be an issue with flushing the buffer. Since this throws an error, the msg is not written to log either. We can try switching order or catching error?
<172.1.1.1>: msg type:RETURN_PREDECESSOR rcvd from 172.1.1.3: msg:{u'client_ip': None, u'target': None, u'msg_type': u'RETmininext> n4 ls
p': None, 'finger': None, 'key': None}
Traceback (most recent call last):
File "Chord.py", line 453, in <module>
ctrlMsgReceived()
File "Chord.py", line 93, in ctrlMsgReceived
myLogger.mnPrint("msg type:{0} rcvd from {1}: msg:{2}".format(msg_type, addr[0], msg))
File "/home/mininet/ChordDFS/ReadLog.py", line 23, in mnPrint
sys.stdout.flush() # need to flush output, else never show up
IOError: [Errno 4] Interrupted system call
Client program crashes mininet when client crashes or call exit
- start client program ie n1 python Client.py n1 \n1
- type exit into stdin console
- the client program should exit with this message on the screen: "bash: error reading input file: Resource temporarily available"
- n1 any_cmd
- mininet crashes with OSError: Broken Pipe
client.py
Report Errors to Client
If a file doesn't exist on the network for a get request, we should return an error to the Client. Same for other issues.
topo.py
tracker, client, chord nodes, fabric switch
chord.py
Can't have more than 10 nodes connected to fabric switch, times out and crashes
config
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.