Giter VIP home page Giter VIP logo

memento's Issues

can't make for ubuntu 14.04

mkdir -p ./release && gcc -std=gnu99 -Wall -lrt -lpthread -O3 -pedantic src/map.c src/util.c src/commands.c src/persistence.c src/networking.c src/serializer.c src/hashing.h src/cluster.c src/queue.c src/event.c src/list.c src/memento.c -o ./release/memento
/tmp/ccCxgVrQ.o: In function main': memento.c:(.text.startup+0x30d): undefined reference to pthread_create'
/tmp/ccN8pVI2.o: In function async_write': persistence.c:(.text+0x88): undefined reference to aio_write'
persistence.c:(.text+0x9c): undefined reference to aio_error' /tmp/ccjBougi.o: In function start_loop':
networking.c:(.text+0x6ec): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make: *** [memento] Error 1

Unrecognized command occurs when requests a key in remote node.

I will work on it.
Node A
[INF][2017-09-30 16:05:01] - Cluster succesfully formed
[DBG][2017-09-30 16:06:06] - Client connected 127.0.0.1:47766 72
[DBG][2017-09-30 16:06:11] - Command : SET
[DBG][2017-09-30 16:06:11] - Key : a
[DBG][2017-09-30 16:06:11] - Destination node: 1100 for key a
[DBG][2017-09-30 16:06:11] - Redirect toward cluster member 2735fb03b69348bbade3aae4674e390b
[DBG][2017-09-30 16:06:11] - Scheduled write to peer fd: 70
[DBG][2017-09-30 16:06:11] - Send to fd 70
[DBG][2017-09-30 16:06:11] - Handling request from 70
[DBG][2017-09-30 16:06:12] - Received data from peer node, message: mand)

[DBG][2017-09-30 16:06:12] - Answer to another node, processing inst: mand)

Node B
[INF][2017-09-30 16:05:03] - Cluster succesfully formed
[DBG][2017-09-30 16:06:11] - Unrecognized command
[DBG][2017-09-30 16:06:11] - Scheduled write to client
[DBG][2017-09-30 16:06:11] - Answering to client from worker 7
[DBG][2017-09-30 16:08:45] - Unrecognized command
[DBG][2017-09-30 16:08:45] - Scheduled write to client

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.