| Branch: | Revision:

grapes / som / TopologyManager @ eb29e340

# Date Author Comment
eb29e340 07/23/2010 11:53 AM Luca

Revert to the old merge_caches for ncast and remove merge_caches_ranked

Use the new cache union and cache resize functions in tman instead of merge_caches_ranked

6f80ff91 07/23/2010 11:41 AM Marco Biazzini

topocache : implemented cache_union and cache_resize

9e444611 07/23/2010 11:34 AM Marco Biazzini

topocache.c : changing semantic of static in_cache function

f1d1a122 07/23/2010 11:30 AM Marco Biazzini

tman.c : added a wrapper to user provided ranking function to handle NULL metadata

bf077789 07/23/2010 09:33 AM Marco Biazzini

tman.c : fixing initialization needed to correctly bootstrap

e5ed5fa9 07/23/2010 09:33 AM Marco Biazzini

tman.c : deleted unused local rank_cache function -> topocache's cache_rank function is called instead

973fb1fd 07/23/2010 09:32 AM Marco Biazzini

topocache : added cache_rank function to rank a cache that is not in the desired order

db8fa933 07/23/2010 09:32 AM Marco Biazzini

tman.c : wait for peer sampler to be ready for bootstrapping

78253c6a 07/23/2010 09:32 AM Marco Biazzini

tman.c : ordering both at receiver and at sender to avoid inconsistencies due to dynamically changing metadata

a16f5e1d 07/23/2010 09:31 AM Marco Biazzini

tman.c : change_metadata also triggers a restart phase to make the internal restart countdown a little more in synch with the metadata changes

44dde345 07/23/2010 09:31 AM Marco Biazzini

topocache.c : cache_add always update metadata of already existing entries

6f6ebef2 07/23/2010 09:28 AM Marco Biazzini

tman.c : change metadata also triggers a rank_cache on local_cache

aa864d20 07/23/2010 09:28 AM Marco Biazzini

tman.c : rank_cache can handle NULL target with valid metadata (to be called by ParseData to rank against the current node)

483ff9b6 07/23/2010 09:26 AM Marco Biazzini

topo_proto : fixing tmanChangeMetadata and topChangeMetadata nodeID

This implies changes in topo_proto.c too

238b5b58 07/23/2010 09:08 AM Marco Biazzini

tman.c : small fix to avoid sending useless empty caches in the beginning

8c3c732b 07/23/2010 09:08 AM Marco Biazzini

tman.c : adding reactive cache_size growing as needed

2af7bd48 07/23/2010 09:08 AM Marco Biazzini

tman.c : adding static current_size var. to track the current local_cache size

1f0684b3 07/23/2010 09:06 AM Marco Biazzini

tman.c : tmanAddNeighbour does not add and triggers a gossip if no metadata are given

45505894 07/23/2010 09:06 AM Marco Biazzini

topocache.c : fix to cache_add to handle insertion with and without metadata

41022ab4 07/20/2010 10:18 AM Marco Biazzini

tman.c : differentiating and improving bootstrap and restart phases

8171d18c 07/20/2010 10:18 AM Marco Biazzini

tman.c : restart also after a given number of cycles

50fea9dc 07/20/2010 10:16 AM Marco Biazzini

tman.c : fix the restart phase to avoid empty or 1-entry cache at bootstrap

f5d4be66 07/19/2010 02:36 PM Marco Biazzini

ncast : implementing longer bootstrap phase (more cycles with a shorter period)

1d8e0f3d 07/19/2010 02:34 PM Luca Abeni

Avoid useless initialisations

0c10c07b 07/19/2010 02:33 PM Marco Biazzini

TMAN : fix restart logic, to make it more efficient

8fca5848 06/25/2010 06:52 AM Luca Abeni

Merge branch 'fixes' into marco_integration

56e6f951 06/25/2010 06:43 AM Luca Abeni

Fix another warning

d74d9d89 06/25/2010 06:41 AM Luca Abeni

Fix some const-related warnings (due to the ML crappines, the destination node ID cannot be const)

36021cf1 06/23/2010 07:35 AM Luca Abeni

Merge branch 'fixes' into marco_integration

f7520461 06/23/2010 07:34 AM Marco Biazzini

Free the node IDs when removing old nodes

4070e769 06/22/2010 10:14 AM Marco Biazzini

TMAN code cleanup

374c45bb 06/19/2010 01:02 PM Luca

Merge branch 'master' into marco_integration


ba6b5d5d 06/19/2010 12:45 PM Marco Biazzini

Fix tman activation

6296c74b 06/19/2010 12:44 PM Marco Biazzini

Return -2 in cache_add() even if the new element is already in cache

9589827a 06/19/2010 12:42 PM Marco Biazzini

Fix the parseData() merge logic

04119bba 06/19/2010 12:41 PM Marco Biazzini

Fix the protocol check in tmanParseData()

f689da66 06/19/2010 12:40 PM Marco Biazzini

Allow to call topo_proto_init() multiple times (needed because both tman
and the peer sampling protocol call it)

9eab8f0b 06/19/2010 12:38 PM Marco Biazzini

Fix a for() cycle in tman's givePeers()

8719625f 06/15/2010 12:45 PM Luca Abeni

Fix a typo in cache_del()

08f3576f 06/15/2010 10:07 AM Csaba Kiraly

reduced nccache size to 10

a4d92a6c 06/15/2010 10:04 AM Luca Abeni

Fix the most stupid error ever

5adcd1d8 06/15/2010 10:04 AM Luca Abeni

Do not reply with too many IDs, and do not free NULL

8af062d1 06/15/2010 10:03 AM Luca Abeni

Remove MAX_PEERS dependency

29ab6bd0 05/27/2010 02:20 PM Luca Abeni

Hopefully fix rand_peer(), in the correct way!

ac9b476d 05/27/2010 02:07 PM Luca Abeni

Use different cache update strategies for TMAN and NCAST

bb14413e 05/27/2010 12:52 PM Luca Abeni

Fix tmanGetNeighbourhoodSize()

81108160 05/27/2010 12:47 PM Luca Abeni

Remove void**

8a0aa150 05/27/2010 09:26 AM Luca Abeni

Update to latest version from Marco

df98cd3a 05/26/2010 03:34 PM Luca Abeni

First shot at TMAN

315d210f 05/26/2010 12:42 PM Luca Abeni

Change the prototype of the *_ranked functions

b81d3f0f 05/14/2010 03:09 PM Luca

Cleanup the cache interface a little bit

418dafe6 05/14/2010 03:09 PM Luca

Change the "reply" prototype

661d190d 04/29/2010 01:01 PM Luca Abeni

Tell the caller what happened during a merge...

35f870f1 04/29/2010 09:38 AM Luca Abeni

Fix a typo

255b9b59 04/29/2010 07:48 AM Luca Abeni

When deleting a node, delete the metadata too...

393aa781 04/29/2010 07:35 AM Luca Abeni

Add the "ranked" functions

01873987 04/28/2010 11:01 AM Luca Abeni

Some renaming...

faa3a9c7 04/28/2010 09:56 AM Luca Abeni

Rename some files: nc -> topo

3c7f8a0c 04/28/2010 09:53 AM Luca Abeni

Remove MAX_PEERS dependency

04df3b0f 04/23/2010 01:25 PM Luca

Correct all the "init()" function to take a config string as a parameter

e4e3bde9 04/23/2010 01:06 PM Luca

Fix cache grow

bf702aab 04/23/2010 12:59 PM Luca

Fix removal of the last element of the cache

2bece9a3 04/23/2010 12:57 PM Luca

Ordered insertion in cache

d77cdcc9 04/23/2010 08:08 AM Csaba Kiraly

SOM: check return value of ncast_payload_fill

2feb6647 04/23/2010 08:07 AM Csaba Kiraly

SOM: define to set TopMan's MAX_MSG_SIZE

d86ef3d5 04/23/2010 08:00 AM Csaba Kiraly

SOM: introducing MAX_TIMESTAMP timeout in newscast

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

d85b5003 04/23/2010 07:52 AM Csaba Kiraly

SOM: increasing topman bootstrap period to 2s

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

badadecf 04/23/2010 07:51 AM Csaba Kiraly

SOM: add bootstrap mode to topman with faster turnaround time

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

90cea048 03/08/2010 10:11 PM Luca

Metadata update API

fe701696 03/05/2010 03:43 PM Luca

Implement topGetMetadata()

c38d0f2c 03/05/2010 03:15 PM Luca

Checks on metadata size can be a little bit less paranoid

886456d7 03/05/2010 02:52 PM Luca

Add (basic) metadata support

11485577 03/05/2010 01:45 PM Luca Abeni

Rewrite the protocol and the internals

Use a real peer_cache structure (containing all the information
and not only an array of enties)

c82982d7 03/05/2010 10:33 AM Luca Abeni

Change timestamps to 32 bit, and write/read them in a sane way

bbbdd9d1 03/04/2010 03:43 PM Luca Abeni

Fix compilation after the last commits

005954ae 02/26/2010 03:11 PM Luca Abeni

New topology manager interface, to support metadata

03e241dd 02/26/2010 03:10 PM Luca Abeni

Fix a const-related warning

5618ba78 02/25/2010 09:26 PM Luca Abeni

Merge remote branch 'origin/makefiles'


5728d758 02/25/2010 08:27 PM Luca Abeni

Merge remote branch 'origin/nodeid-dtor'


e7bf8c8e 02/25/2010 08:25 PM Luca Abeni

Merge branch 'copyright'

8ab58ec7 02/25/2010 08:24 PM Luca Abeni


ddeb9cbc 02/18/2010 11:07 PM Csaba Kiraly

SOM: fixed memory leak in TopologyManager

678c612d 02/18/2010 10:57 PM Luca Abeni

Add a destructor for Node IDs

36b460c1 02/16/2010 03:10 PM Csaba Kiraly

SOM: added duplicate detection to TopologyManager cache_add

8b5b77bf 02/16/2010 03:10 PM Csaba Kiraly

SOM: fixed memory leak in TopologyManager

51317c83 02/04/2010 03:21 PM Csaba Kiraly

SOM: fixed topRemoveNeighbour

git-svn-id: a72f678d-4428-462c-85b4-08f063ced704

3d3def6e 02/02/2010 12:41 PM Luca Abeni

Factorise the makefiles

b576198c 01/27/2010 12:22 PM Luca Abeni

New net_helper interface

a0384990 01/26/2010 09:43 PM Luca Abeni

Better handling of gcc options

026a7e5d 01/25/2010 08:21 PM Luca Abeni

Move the message types in a common header

6ee18244 01/21/2010 10:18 PM Luca

Try to fix meamleak

48e3960d 12/28/2009 09:14 AM luca

Move the net_helper in a more common place

6d557f68 08/28/2009 08:01 AM Luca Abeni

Merge branch 'use_udp' into integration

e933e753 08/28/2009 07:16 AM Luca Abeni

Move the topology manager into the som