scheduler: move selectWithOrdering to the public header
scheduler: fix weighted selection infinite loop in case of too many 0 weights
peerset fix: assign initial value to capacity
maybe NAN would be better
peerset: fix memory corruption in remove_peer
Fix cache_copy() for caches with metadata
fix net-helper-ml mismerge
Consider fname == "" as no file
Fix net_helper-ml.c mismerge
Fix another mismerge...
Fix a mismerge
Merge remote-tracking branch 'origin/cloudcast_integration'
Conflicts: src/Tests/cloudcast_topology_test.c src/net_helper-ml.c
Merge branch 'fixes'
Fix a warning by properly defining "const" in peersampler interface
Add a multiple inclusion guard
Switch to a better way to select different implementations
Split different encoding functions to different files
split some functions
Split the set and list operations in different files
Move a function to reduce differences a little bit
Merge remote-tracking branch 'Csaba/bsearch' into chunkidset
Merge commit '9c3d2b9e5be53fbc11f150a54386cf92c2ba5d10'
Merge remote-tracking branch 'Csaba/fixes3'
Merge remote-tracking branch 'origin/topman'
Merge remote-tracking branch 'Csaba/net-helper-ml'
Merge remote-tracking branch 'Csaba/config'
Merge remote-tracking branch 'Csaba/net-helper'
topocache: fix a compile warning
fix (or change) newscast to increase timestamps before replying
topocache: adding cache_copy function
Avodi memmove() with size 0
in cache_insert(), update cache entries if the timestamp is smaller
Use assert() for debugging
Do not invoke memmove() with size 0
Fixed bug in cache_insert which resulted in unordered timestamps
Remove useless duplication
Merge remote branch 'cloudcast/cloudcast' into cloudcast_integration
Merge branch 'fixes' into cloudcast_integration
Conflicts: src/Cache/topocache.c src/PeerSampler/cloudcast.c
delegate_helpers now builds corretly by recompiling depencies with -fPIC before bundling the shared-library
Moved -fPIC from Utils to CloudSupport and only when building shared libraries
Added -fPIC option Utils modules as they're used by shared libraries. Need something smarter though
Fix bug introduced in commit 2d4b0f2075963eb68aba8eed79e26419d6cc6b96 which caused cache corruption when updating cache entry
Merge branch 'fixes' into topman
Allow to select cyclon at runtime
Fix 2 cyclon memleaks
Cloud inizialization is now optional
Temorary linking problem fix for delegate_helpers.OSX and linux differ in the way they treat undefined reference in shared library.A smarter way to avoid bundling objects common to libgrapes in delegate_helpers shared libraries is needed.
Fix cyclon timestamps...
Removed debug outputs leftovers
Dynamic linking problem: delegate_helpers cannot find symbols related to request_handler and fifo_queue in libgrapes
request_handler not bundled with grapeslib as it's not directly needed
Fixed memory leak in cache_fill_* caused by wrong exit status of cache_insert_or_update
Try to support the libav crap
Added OSX specific linking options and removed objects dependencies on shared libraries
Added explicit mention of stdint header in libs3 delegate helper
Major rewrite of cloudact protocol.Current implementation diverge from present cyclon implementation and is reflect more strictly the paper description.
Added functions topo_reply_header and topo_query_header to topo_proto to support protocol specific header in topology messages
Introduced new functions to topocache API: cache_rand_except, cache_fill_rand, cache_fill_ordered, cache_max_size, cache_current_size
cache_check and cache_log take into account timestamps
Merge branch 'cloudcast_integration' into cloudcast
Allow to compile and link without libdl
Merge branch 'cloudcast_integration'
Fix OOT build
Fix cloudcast_topology_test compilation
This test uses pthreads, so it needs to link the pthread library
Conflicts: include/net_helper.h src/net_helper.c
Fixed thread unsafe operations in net_helper
Merge branch 'fixes' into cloudcast
Remove some "static" qualifiers on local variables
This helps in making the code reentrant
Nethelper send_to_peer now works again. Better fix needed
Fixed bug in cloudcast: wrong threshold value
Added put counter to mysql cloud helper
Removed debug log
cloudcast works without the need of the cloud being initialized with an empty value
Added support for get_from_cloud_default which return a default value if key is not present
Added documentation on thread safety assumptions
Fixed minor warning about dropped modifier
Removed pthread dependency by cloud_helper. Caller must enforce synchronization on cloud_helper_init
Added error logging for the initialization phase of the cloudcast peersampler protocol
Fixed a SEGFAULT bug in wait4any_polling
Cloudcast now is threadsafe
cloud_helper_context-nodeID map now thread safe
better specified the completion criteria of recv_form_cloud
Fixed a memory leak in libs3_delegate_helper
Merge branch 'master' into cloudcast
Conflicts: src/Cache/proto.h src/Cache/topocache.c src/Makefile src/Tests/Makefile src/TopologyManager/Makefile src/TopologyManager/topo_proto.h
Bug fix: mysql/libs3 delegate helper always reported empty data after a successful recv operation
libs3_delegate_helper uses request_handler to manage blocking operations
Minor documentation fix
Merge branch 'net-helper-ml'
tests updated to respect new interface of cloud_helper
Changed context deallocation of libs3_delegate_helper: now respects const qualifiers
Added optional buffer deallocation for cloud_helper get/put operations