Created
June 2, 2015 14:21
-
-
Save renatoc/917452f3c8f7bac2920c to your computer and use it in GitHub Desktop.
Disque install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ip-10-109-145-106:~/disque# make clean | |
cd src && make clean | |
make[1]: Entering directory `/root/disque/src' | |
rm -rf disque-server disque disque-check-aof *.o *.gcda *.gcno *.gcov disque.info lcov-html | |
make[1]: Leaving directory `/root/disque/src' | |
root@ip-10-109-145-106:~/disque# make noopt | |
cd src && make noopt | |
make[1]: Entering directory `/root/disque/src' | |
make OPTIMIZATION="-O0" | |
make[2]: Entering directory `/root/disque/src' | |
CC adlist.o | |
CC ae.o | |
CC anet.o | |
CC dict.o | |
CC disque.o | |
CC sds.o | |
CC zmalloc.o | |
CC lzf_c.o | |
CC lzf_d.o | |
CC pqsort.o | |
CC sha1.o | |
CC release.o | |
CC networking.o | |
CC util.o | |
CC object.o | |
CC config.o | |
CC aof.o | |
CC debug.o | |
CC syncio.o | |
CC cluster.o | |
CC crc16.o | |
CC endianconv.o | |
CC slowlog.o | |
CC bio.o | |
CC memtest.o | |
CC crc64.o | |
CC setproctitle.o | |
CC blocked.o | |
CC latency.o | |
CC sparkline.o | |
CC rio.o | |
CC job.o | |
CC queue.o | |
CC skiplist.o | |
CC ack.o | |
LINK disque-server | |
CC disque-cli.o | |
LINK disque | |
CC disque-check-aof.o | |
LINK disque-check-aof | |
Hint: It's a good idea to run 'make test' ;) | |
make[2]: Leaving directory `/root/disque/src' | |
make[1]: Leaving directory `/root/disque/src' | |
root@ip-10-109-145-106:~/disque# make test | |
cd src && make test | |
make[1]: Entering directory `/root/disque/src' | |
Starting disque #0 at port 25000 | |
Starting disque #1 at port 25001 | |
Starting disque #2 at port 25002 | |
Starting disque #3 at port 25003 | |
Starting disque #4 at port 25004 | |
Starting disque #5 at port 25005 | |
Starting disque #6 at port 25006 | |
Testing unit: 00-base.tcl | |
12:06:45> (init) Restart killed instances: OK | |
12:06:45> Cluster nodes are reachable: OK | |
12:06:45> Cluster nodes hard reset: OK | |
12:06:45> Cluster Join and auto-discovery test: OK | |
12:06:48> Different nodes have different IDs: OK | |
Testing unit: 01-faildet.tcl | |
12:06:48> (init) Restart killed instances: OK | |
12:06:48> Cluster nodes are reachable: OK | |
12:06:48> Cluster nodes hard reset: OK | |
12:06:48> Cluster Join and auto-discovery test: OK | |
12:06:50> Killing two nodes: OK | |
12:06:50> Nodes should be flagged with the FAIL flag: OK | |
12:06:54> Restarting two nodes: OK | |
12:06:54> Nodes FAIL flag should be cleared: OK | |
Testing unit: 02-jobs-replication.tcl | |
12:06:54> (init) Restart killed instances: OK | |
12:06:54> Cluster nodes are reachable: OK | |
12:06:54> Cluster nodes hard reset: OK | |
12:06:54> Cluster Join and auto-discovery test: OK | |
12:06:56> ADDJOB, single node: OK | |
12:06:56> ADDJOB, synchronous replication to multiple nodes: OK | |
12:06:56> ADDJOB, asynchronous replication to multiple nodes: OK | |
12:06:56> Sync ADDJOB fails if not enough nodes are available: OK | |
12:06:56> Sync ADDJOB fails if not enough nodes are reachable: OK | |
12:07:04> Sync ADDJOB uses more nodes when first contacted are down (1): OK | |
12:07:05> Sync ADDJOB uses more nodes when first contacted are down (2): OK | |
12:07:07> Sync ADDJOB uses more nodes when first contacted are down (3): OK | |
12:07:08> Replicating job expires before reaching the replication level: OK | |
Testing unit: 03-jobs-queueing.tcl | |
12:07:11> (init) Restart killed instances: OK | |
12:07:11> Cluster nodes are reachable: OK | |
12:07:11> Cluster nodes hard reset: OK | |
12:07:11> Cluster Join and auto-discovery test: OK | |
12:07:12> ADDJOB will initiall queue the job in the target node: OK | |
12:07:12> If the job is not consumed, without partitions, no requeue happens: OK | |
12:07:15> If the job is consumed, but not acknowledged, it gets requeued: OK | |
12:07:16> If retry is set to 0, no requeue happens after a job is consumed: OK | |
12:07:18> If the job is not consumed, but queueing node unreachable, is requeued: OK | |
12:07:19> Job replicated to N nodes is delivered after crashing N-1 nodes #0: OK | |
12:07:21> Job replicated to N nodes is delivered after crashing N-1 nodes #1: OK | |
12:07:23> Job replicated to N nodes is delivered after crashing N-1 nodes #2: OK | |
12:07:25> Job replicated to N nodes is delivered after crashing N-1 nodes #3: OK | |
12:07:26> Job replicated to N nodes is delivered after crashing N-1 nodes #4: OK | |
12:07:28> Job replicated to N nodes is delivered after crashing N-1 nodes #5: OK | |
12:07:30> Job replicated to N nodes is delivered after crashing N-1 nodes #6: OK | |
12:07:32> Job replicated to N nodes is delivered after crashing N-1 nodes #7: OK | |
12:07:34> Job replicated to N nodes is delivered after crashing N-1 nodes #8: OK | |
12:07:35> Job replicated to N nodes is delivered after crashing N-1 nodes #9: OK | |
12:07:36> Single node jobs are correctly ordered in a FIFO fashion: OK | |
Testing unit: 04-ttl.tcl | |
12:07:36> (init) Restart killed instances: OK | |
12:07:36> Cluster nodes are reachable: OK | |
12:07:36> Cluster nodes hard reset: OK | |
12:07:36> Cluster Join and auto-discovery test: OK | |
12:07:38> Jobs TTL is honoured: OK | |
12:07:44> Jobs mass expire test: OK | |
Testing unit: 05-acks.tcl | |
12:07:49> (init) Restart killed instances: OK | |
12:07:49> Cluster nodes are reachable: OK | |
12:07:49> Cluster nodes hard reset: OK | |
12:07:49> Cluster Join and auto-discovery test: OK | |
12:07:51> Acks work in the single node case: OK | |
12:07:51> Acks are propagated in the cluster: OK | |
12:07:51> Acks are evicted only if all the job owners can be reached: OK | |
12:07:54> It is possible to acknowledge jobs to nodes not knowing it: OK | |
12:07:55> Acknowledge to non owner, while some owner is down: OK | |
12:07:55> Acknowledge to non owner, while all the owners are down: OK | |
12:07:56> Fast ack to owner node: OK | |
12:07:56> Fast ack to non owner node: OK | |
Testing unit: 06-federation.tcl | |
12:07:56> (init) Restart killed instances: OK | |
12:07:56> Cluster nodes are reachable: OK | |
12:07:56> Cluster nodes hard reset: OK | |
12:07:56> Cluster Join and auto-discovery test: OK | |
12:07:57> Add multiple jobs to the same queue, different nodes: OK | |
12:07:58> Make sure node 0 does not have all the jobs queued: OK | |
12:07:58> I should be able to fetch each job from instance 0: OK | |
Cleaning up... | |
make[1]: Leaving directory `/root/disque/src' | |
root@ip-10-109-145-106:~/disque# make install | |
cd src && make install | |
make[1]: Entering directory `/root/disque/src' | |
Hint: It's a good idea to run 'make test' ;) | |
INSTALL install | |
INSTALL install | |
INSTALL install | |
make[1]: Leaving directory `/root/disque/src' | |
root@ip-10-109-145-106:~/disque# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment