Coder Social home page Coder Social logo

Flushing data error about chorddfs HOT 2 CLOSED

WizHacks avatar WizHacks commented on July 29, 2024
Flushing data error

from chorddfs.

Comments (2)

WizHacks avatar WizHacks commented on July 29, 2024

File insertion logic doesn't look wrong as can be seen in the log of node 1 but node 4 never logs its receipt of the send file due to the ioerror. node 4 log ends at 19:28 whereas the send file is sent at 19:29 miss :( Therefore can't confirm for sure whether it works. (file insertion itself does work, as can be confirmed if you just have tracker and client)

172_1_1_2_c.log
172_1_1_3.log
172_1_1_4.log
172_1_1_5.log
172_1_1_1.log

Commands to run on mininet CLI:

n1 python Chord.py n1 \n1 &	
n3 python Chord.py n3 \n3 &	
n3 python Chord.py n4 \n4 &	
n3 python Chord.py n5 \n5 &	
  1. Wait until stabilization
  2. run n2 python Client.py n2 \n2
  3. pass to stdin of n2 insert newfile

If you do a search on newfile in 172_1_1_1.log you will see the said file being sent around

from chorddfs.

WizHacks avatar WizHacks commented on July 29, 2024

fixed by using threading.Timer instead of the signal call

from chorddfs.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.