Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge_backup: Print timing info for each secondary. | Linus Nordberg | 2016-12-03 | 1 | -17/+21 |
| | | | | | Also, prefix all log entries with the name of the secondary merge node operating on. | ||||
* | Open permdb read-only in merge_backup and merge_dist. | Linus Nordberg | 2016-12-03 | 3 | -6/+8 |
| | |||||
* | merge_dist: Distribute independently to each frontend node. | Linus Nordberg | 2016-12-03 | 1 | -48/+77 |
| | |||||
* | Minor certtools cleanup. | Linus Nordberg | 2016-12-03 | 1 | -7/+2 |
| | |||||
* | merge_sth: Don't try to go back in time. | Linus Nordberg | 2016-12-03 | 1 | -1/+1 |
| | | | | | | | | | | | Due to a recent change in get_nfetched(), merge_sth lacking the 'sth' file could go back to a tree size of zero. It's rejected by frontend nodes with a newer tree, but it's still a severe error to produce that piece of data. We add tools/initlog.py which creates an 'sth' file with tree size 0 and have tests invoke it after starting the erlang nodes, before starting the continous merge processes. | ||||
* | Add initlog.py. | Linus Nordberg | 2016-12-02 | 3 | -13/+102 |
| | |||||
* | Don't crash in merge_fetch when there's a logorder file. | Linus Nordberg | 2016-12-02 | 1 | -5/+7 |
| | | | | | The 'logorder' file keeps hashes hexencoded. When read into the logorder list they're decoded. | ||||
* | Don't get new entries while we still have entries to fetch. | Linus Nordberg | 2016-12-02 | 1 | -3/+4 |
| | |||||
* | Drain pipe between fetch_send control process and worker processes. | Linus Nordberg | 2016-12-01 | 1 | -32/+55 |
| | | | | | The pipe is limited so send blocks. Drain after _every_ send in _both_ directions. | ||||
* | Remove spurious message length checks. | Linus Nordberg | 2016-12-01 | 1 | -9/+1 |
| | | | | No only are they spurious but even harmful, by hiding errors. | ||||
* | Don't crash when restarting merge_fetch worker process. | Linus Nordberg | 2016-12-01 | 1 | -5/+7 |
| | | | | Store storagenode object in procs as well. | ||||
* | Documentation changes. | Linus Nordberg | 2016-12-01 | 1 | -3/+4 |
| | |||||
* | Separate two error cases when reading 'verified' file. | Linus Nordberg | 2016-12-01 | 1 | -1/+6 |
| | |||||
* | Increase merge timeouts. | Linus Nordberg | 2016-11-30 | 1 | -3/+3 |
| | |||||
* | Parallelise merge_dist. | Linus Nordberg | 2016-11-30 | 3 | -60/+97 |
| | | | | Also deduplicate some code. | ||||
* | Clean up a bit. | Linus Nordberg | 2016-11-28 | 1 | -17/+3 |
| | |||||
* | If any backup process failed, try again. | Linus Nordberg | 2016-11-28 | 1 | -3/+7 |
| | | | | | | Try again without waiting for an update of the fetched file, which won't happen in the tests (but probably will happen in real life, masking this bug). | ||||
* | Do remove process from procs dict when they fail too. | Linus Nordberg | 2016-11-28 | 1 | -4/+4 |
| | |||||
* | Don't pass 0 to multiprocessing.Pipe.poll(). | Linus Nordberg | 2016-11-28 | 1 | -2/+2 |
| | | | | Documentation says to pass nothing for no blocking. | ||||
* | Dedup log initialisation code. | Linus Nordberg | 2016-11-28 | 5 | -27/+16 |
| | |||||
* | Parallelise merge_backup. | Linus Nordberg | 2016-11-27 | 1 | -45/+94 |
| | | | | | We're still failing the tests when the merge secondary goes away, sometimes. | ||||
* | Fix a crash bug; improve IPC; use cycle(). | Linus Nordberg | 2016-11-27 | 1 | -40/+40 |
| | | | | | | | | | Workers: - Consume all messages each round, just as control process does. Control process: - Use itertools.cycle for the circular list. - Fix bug where an entry could be fetched multiple times, crashing when updating fetch_dict. | ||||
* | Improve two comments. | Linus Nordberg | 2016-11-26 | 1 | -2/+6 |
| | |||||
* | Add back chunking for get_entries in parallelised merge_fetch. | Linus Nordberg | 2016-11-26 | 1 | -10/+9 |
| | | | | | Even if it's not important for parallelism on the merge node, it's not a bad idea to keep the requests from growing. | ||||
* | Remove old assertion used for testing. | Linus Nordberg | 2016-11-26 | 1 | -2/+0 |
| | |||||
* | Bug fixes from map. | Linus Nordberg | 2016-11-26 | 1 | -5/+4 |
| | |||||
* | merge_fetch: Write to chainsdb in controlling process. | Linus Nordberg | 2016-11-25 | 2 | -104/+74 |
| | | | | | | | Multiple writers won't work when using permdb. Also, improve throughput by polling worker processes with timeout 0 and read all messages at once. | ||||
* | Sleep less in tests. | Linus Nordberg | 2016-11-25 | 1 | -14/+25 |
| | |||||
* | Do import datetime even more. | Linus Nordberg | 2016-11-25 | 3 | -5/+8 |
| | |||||
* | Manual rebase onto master with map/robust-distribution. | Linus Nordberg | 2016-11-25 | 8 | -179/+584 |
| | |||||
* | Do import datetime. | Linus Nordberg | 2016-11-25 | 1 | -1/+2 |
| | | | | How did this ever work? | ||||
* | Add a bit of documentation. | Linus Nordberg | 2016-11-25 | 4 | -4/+16 |
| | |||||
* | Add session capability to unauth web requests | Magnus Ahltorp | 2016-11-22 | 1 | -6/+9 |
| | |||||
* | parsebench: change from table to div:s | Magnus Ahltorp | 2016-11-22 | 1 | -4/+4 |
| | |||||
* | Only allocate one color per stage | Magnus Ahltorp | 2016-11-19 | 1 | -13/+36 |
| | |||||
* | Use sessions in merge_fetch | Magnus Ahltorp | 2016-11-18 | 2 | -16/+18 |
| | |||||
* | Change algorithm for merge backup and merge dist | Magnus Ahltorp | 2016-11-02 | 4 | -149/+185 |
| | |||||
* | Added performance tests | Magnus Ahltorp | 2016-11-02 | 1 | -7/+12 |
| | |||||
* | Send list of entries to frontend | Magnus Ahltorp | 2016-11-02 | 3 | -30/+50 |
| | | | | Handle connection error | ||||
* | Remove unused code from test Makefile. | Magnus Ahltorp | 2016-10-18 | 1 | -1/+1 |
| | | | | Fix parsing bug in compileconfig. | ||||
* | Test failing merge backup | Magnus Ahltorp | 2016-10-14 | 1 | -0/+2 |
| | | | | Refactor tests | ||||
* | Make tests run independently from cwd | Magnus Ahltorp | 2016-10-13 | 1 | -5/+6 |
| | |||||
* | Move tests to shell scripts | Magnus Ahltorp | 2016-10-05 | 1 | -6/+11 |
| | |||||
* | Allow permdb on non-merge nodes. | Magnus Ahltorp | 2016-08-19 | 1 | -3/+9 |
| | | | | Disallow permdb for multi-node configs. | ||||
* | Use check-sth.py; Add missing testcerts/cert7. | Linus Nordberg | 2016-07-12 | 1 | -0/+88 |
|\ | |||||
| * | Cert7 | Magnus Ahltorp | 2016-07-12 | 1 | -0/+88 |
| | | |||||
| * | Added permdb support to merge | Magnus Ahltorp | 2016-07-08 | 4 | -11/+43 |
| | | |||||
| * | Fix bugs in old tests. Add tests for merge takeover. | Magnus Ahltorp | 2016-07-08 | 2 | -7/+17 |
| | | | | | | | | | | submitcert.py was not exiting with error code when cert submission failed. compileconfig.py was generating duplicate node names when Erlang nodes have several servers | ||||
| * | Implement CATLFISH-74 | Magnus Ahltorp | 2016-06-10 | 1 | -8/+13 |
| | | |||||
* | | Added permdb support to merge | Magnus Ahltorp | 2016-07-11 | 4 | -11/+43 |
| | |