1
0
Fork 0
Commit Graph

41619 Commits

Author SHA1 Message Date
Max Neunhoeffer af3f977997
Revert "Send out empty heartbeats regardless of non-empty AppendEntriesRPC."
This reverts commit e974501446.
2017-10-02 15:02:15 +02:00
Max Neunhoeffer 2852f80b5a
Revert "Make leader more tolerant w.r.t. incoming AppendEntriesRPC responses."
This reverts commit 45d37edfb2.
2017-10-02 15:02:06 +02:00
Max Neunhoeffer 45d37edfb2
Make leader more tolerant w.r.t. incoming AppendEntriesRPC responses. 2017-10-02 15:01:11 +02:00
Max Neunhoeffer e974501446
Send out empty heartbeats regardless of non-empty AppendEntriesRPC.
Also improve logging:
  Note if a log in the empty heartbeat sending takes > 0.01 s.
  Clearly mark places where a leader resigns in logging.
  Log if no empty heartbeat is sent out.
2017-10-02 14:14:41 +02:00
Frank Celler bd5e84a12f added roles to users (#3354) 2017-10-01 21:00:39 +02:00
Frank Celler 206063c8fe fixed type error 2017-10-01 19:18:38 +02:00
Manuel B 3f8f4f1d77 proper IEC prefix (#3355) 2017-10-01 09:44:01 +02:00
Jan 56fab56ff5 Bug fix/issues 2709 (#3333)
* logging improvements

* fixed copy&paste error

* enable assertions in non-release mode

* updated CHANGELOG

* fix --temp.path (was dysfunctional), fix creation of temporary directories and races
2017-10-01 09:43:03 +02:00
Frank Celler 30534aa51a fixed name in jenkins pipeline 2017-10-01 09:20:02 +02:00
Frank Celler 31bfa07a45 build docker image as well 2017-09-30 23:53:38 +02:00
Frank Celler 81e0ca8527 added encryption key generator (#3348) 2017-09-30 14:59:27 +02:00
Wilfried Goesgens 8f3afdd9db Fix handling of last download of sync'er and starter (#3353) 2017-09-29 16:42:51 +02:00
Frank Celler df644b666e switch internal registry 2017-09-29 16:05:54 +02:00
Wilfried Goesgens d6bff07c09 make the note random, so we may have sereveral parallel sessions on github. (#3352) 2017-09-29 15:25:21 +02:00
Frank Celler 14d773247d add new option to download the arango syncer for enterprise releases (#3351) 2017-09-29 15:00:55 +02:00
Wilfried Goesgens 69dbbf9e2d add more statistical values to the statistics handler (#3344) 2017-09-29 14:22:00 +02:00
Frank Celler e876d8412c Feature/jenkins pipeline (#3347) 2017-09-29 12:30:22 +02:00
Frank Celler 70e206fc25 terminal codes 2017-09-28 22:23:54 +02:00
Frank Celler 58515b7894 Feature/jenkins pipeline (#3346) 2017-09-28 22:16:40 +02:00
Max Neunhoeffer 3a4cf41270 Revert "Revert "rework process handling (#3322)""
This reverts commit d2b62c99d6.
2017-09-28 15:53:19 +02:00
Max Neunhoeffer d2b62c99d6 Revert "rework process handling (#3322)"
This reverts commit c56e4949b9.
2017-09-28 15:25:05 +02:00
Wilfried Goesgens c56e4949b9 rework process handling (#3322)
- migrate the process handling to c++ where appropriate
- move code definition / usage closer together
- add function to portably detect external processes (not spawned by us) and whether we may
- send them signals
- add portable code to send signals to processes
- for linux match what impact a signal will have on the process we send it
- check the status of the process we sent the signal, and return if its non-deadly or the process terminated
- after 8 retries with 1 second sleep send a hard kill.
- killExternal() now returns the same structure as statusExternal()
- don't block signals on spawned processes
2017-09-28 13:35:54 +02:00
Max Neunhöffer 47f367d3f0 Bug fix/agency compactor deadlock (#3335)
* Fix a deadlock between Agent thread and compactor thread.
* Improve comments in header.
* Organise clean shutdown of agency threads.
2017-09-28 12:20:57 +02:00
Wilfried Goesgens 534c19c7af restore the feature to be able to specify the CXX via the environment. (#3340) 2017-09-28 11:16:34 +02:00
Jan 4ba38bf981 try to work around some assertions (#3296)
* remove obsolete values from relative config

* warn about using obsolete config parameters
2017-09-28 09:21:33 +02:00
Frank Celler 8badead2f5 Feature/jenkins pipeline (#3338) 2017-09-28 08:13:05 +02:00
Frank Celler 8d01dd0c4e Feature/switch to 3.3 (#3336) 2017-09-27 22:45:31 +02:00
Max Neunhöffer 22e46978a6 Bug fix/sort out agency locks (#3306)
New locking concept in Agency. Ensure empty heartbeats can be sent, answered and processed without long locks. Adjust logging. Fix compaction bugs.
2017-09-27 15:22:30 +02:00
Max Neunhoeffer e070921bc6 Revert "shut down the second instance properly (#3332)"
This reverts commit 890cd995ef.
2017-09-27 09:22:14 +02:00
Max Neunhoeffer 78ec0ec469 Revert "Bugfix/fix test arangod shutdown command (#3260)"
This reverts commit 3afebaed42.
2017-09-27 09:18:39 +02:00
Frank Celler be4d1fd47c fixed duplicate variable 2017-09-26 23:25:34 +02:00
Frank Celler 2efecd9012 fixed links in results.html overview 2017-09-26 21:35:14 +02:00
Frank Celler bc60ebcc5f fixed jslint 2017-09-26 21:28:17 +02:00
Frank Celler 0ebb375523 fixed missing cleanBuild check 2017-09-26 21:22:10 +02:00
Wilfried Goesgens 890cd995ef shut down the second instance properly (#3332) 2017-09-26 18:32:37 +02:00
Frank Celler b8e999e8da Feature/jenkins pipeline (#3327) 2017-09-26 15:17:47 +02:00
Jan 01cdaed684 increase default value for /proc/sys/vm/max_map_count (#3321) 2017-09-26 15:15:22 +02:00
m0ppers 325065a0c0 show warnings if curl work thread is blocked by error/success cbs (#3316) 2017-09-26 15:12:09 +02:00
Wilfried Goesgens c37143b070 During the startup of arangod the client will fail to connect. (#3302)
Since we retry anyways, silence the error message for the first tries
to reduce meaningless log output of testing.js
2017-09-26 14:54:59 +02:00
Wilfried Goesgens 38a5a632c5 set minimum required GCC version to 5.4 (#3298)
* set minimum required GCC version to 5.4
2017-09-26 14:53:44 +02:00
Jan 2525a3a1bd Feature/mmfiles hash lookup performance (#3265)
* speed up full collection scans in mmfiles engine

* some API cleanup
2017-09-26 14:48:06 +02:00
Wilfried Goesgens 3afebaed42 Bugfix/fix test arangod shutdown command (#3260)
* If our arango-object claims its got a connection to the arangodb server, use it to send a shutdown signal to the server.

If not, fall back to using a download http request.

* don't use kill to shut down the server, we now can use the regular shutdown command.
2017-09-26 14:46:30 +02:00
Jan b50abf6d18 updated CHANGELOG (#3326) 2017-09-26 10:49:50 +02:00
rgrvontela 748a3f2a47 Update Middleware.md (#3299)
Just a sentence correction that will help readers in understanding it more clearly.
2017-09-25 16:18:38 +02:00
Frank Celler 8e3651283b added missing default config for jenkins 2017-09-24 11:11:17 +02:00
Frank Celler 621bd2abeb added missing default config for jenkins 2017-09-24 10:56:07 +02:00
Frank Celler c30fdd5c44 Feature/jenkins pipeline (#3319) 2017-09-23 21:53:08 +02:00
Wilfried Goesgens f32329d490 the Cookbook deserves a capital C! (#3308) 2017-09-23 20:45:18 +02:00
Simon Grätzer 5bc0be15bc Fixing Cluster Authentication (#3313)
* Adding a missing loadFromDB call

* Various bootstrap fixes

* Fixed revoke error
2017-09-23 15:09:34 +02:00
Frank Celler 0ab55310c6 Feature/jenkins pipeline (#3314)
* propagate exit result

* added useDocker

* added missing tests and directories

* show arangosh version
2017-09-22 11:07:15 +02:00