source: trunk/FACT++/dim/README_v19.txt@ 14403

Last change on this file since 14403 was 14403, checked in by tbretz, 12 years ago
Updated to v19r38
File size: 30.8 KB
Line 
1
2 DIM version 19.38 Release Notes
3
4Notes 1 and 2 for Unix Users only
5NOTE 1: In order to "make" DIM two environment variables should be set:
6 OS = one of {HP-UX, AIX, OSF1, Solaris, SunOS, LynxOS, Linux, Darwin}
7 DIMDIR = the path name of DIM's top level directory
8 The user should then go to DIM's top level directory and do:
9 > source .setup
10 > gmake all
11 Or, if there is no support for C++ on the machine:
12 > gmake CPP=no all
13
14NOTE 2: The Name Server (Dns), DID, servers and clients (if running in
15 background) should be started whith the output redirected to a
16 logfile ex:
17 Dns </dev/null >& dns.log &
18
19NOTE 3: The Version Number service provided by servers is now set to 1938.
20
2109/08/2012
22Changes for version 19.38:
23 - The timeout used by clients and servers to try to reconnect to a DNS was supposed to be random,
24 to avoid all processes retrying at the same time, but it wasn't - fixed.
25
26
2727/06/2012
28Changes for version 19.37:
29 - DIM DNS crashed for servers with a task name bigger than 80 characters - Fixed.
30
31
3222/06/2012
33Changes for version 19.36:
34 - The internal "DIS_DNS/KILL_SERVERS" command can now be used to pass a user defined exit_code to
35 the servers. The servers will get this exit_code in their exit_handler.
36 Although the exit_code passed to the "DIS_DNS/KILL_SERVERS" command is an integer, only the lower
37 16 bits can be used, i.e. only these bits are passed to the servers.
38
39
4024/05/2012
41Changes for version 19.35:
42 - Fixed the DimInfo() default constructor, now if the default constructor is called, it doesn't cause the
43 destructor to crash anymore.
44 - Made available to DimInfo, DimStampedInfo, DimUpdatedInfo and DimCurrentInfo the method:
45 - void subscribe(char *name, void *nolink, int nolinksize, int time, DimInfoHandler *handler)
46 Like this the default constructor can be called and then this method called later to subscribe
47 whenever needed.
48 - The behaviour of a giving a null pointer and size 0 as "no link" parameters was not completely
49 defined. The user could get back either a null pointer or an "invalid" pointer in the callbacks.
50 This is now well-defined:
51 - If null pointer and size 0 is used at subscribe, the user will get null pointer and size 0 in the callback.
52 - If a negative size is passed at subscribe the callback is not called at all.
53
54
5503/05/2012
56Changes for version 19.34:
57 - Changed back to dna_write_nowait() the message that the server sends to the client when removing
58 a service. This was causing clients not to reconnect ever again when the server removed services.
59 (because the client would get the info much before the DNS, so it would keep trying to reconnect
60 and failing even though the service or even the server didn't exist anymore, without asking the DNS)
61 - Changed the client in order to avoid the behaviour above, i.e. if sending the service request fails it
62 asks the DNS again.
63
64
6523/04/2012
66Changes for version 19.33:
67 - A bug was introduced in v19r30. When trying to retry immediately, a dtq_start_timer(0)
68 was used (like for dna_write). This is not possible because the callback is not protected
69 by a DIM lock. Fixed. (in v19r32)
70 - Small tidy up in dic.c and protecting the move_to_xxx functions.
71 - When a server received an unsubscribe from the last subscribed service of a client it was closing the
72 connection to the client, this is not good because there could be commands being sent. In any case
73 it should be up to the client to close the connection - Fixed.
74 - dim_send_command now accepts a "-i" argument to send integer data (default is string)
75
76
7730/03/2012
78Changes for version 19.31:
79 - changed dna_write to dna_write_nowait for servers when removing a service and for clients
80 when releasing and subscribing to a service. Dna_write cannot be used for the same connection
81 as dna_write_nowait as it will mingle the packets.
82 - Removed more compiler warnings.
83
84
8514/03/2012
86Changes for version 19.30:
87 - Sometimes when trying to open a connection to a server the client could backoff for too
88 long (10 seconds), now it will retry immediately and then at increasing intervals.
89 - dim_stop() would sometimes not properly stop all threads if a new connection was received
90 in the mean time.
91 - The DimServerDns destructor could crash, fixed.
92 - Removed some compiler warnings about variables set but not used.
93 - Two new functions available:
94 - dim_set_listen_backlog(int size)
95 - int dim_get_listen_backlog()
96 - The DNS will set the listen_backlog to 1024 at startup, but the OS will truncate it to
97 a maximum limit (available in /proc/sys/net/core/somaxconn, linux default=128),
98 while for servers the constant SOMAXCONN is used.
99
100
10106/02/2012
102Changes for version 19.28:
103 - Added more log messages when a "Write Timeout" occurs to know where it originated.
104 - A server could sometimes not release the connection in case of a "Write Timeout", and
105 then keep on timing out for each message on this connection - fixed.
106
107
10819/01/2012
109Changes for version 19.27:
110 - Updated the DIM Makefiles for MacOSX (Darwin)
111 - Added New possibilities to change DIM timeouts:
112 - 2 New Environment variables:
113 - DIM_WRITE_TMOUT (default: 5)
114 - DIM_KEEPALIVE_TMOUT (default: 15)
115 - Same functionality as the functions:
116 - dim_set_write_timeout(int secs)
117 - int dim_get_write_timeout()
118 - dim_set_keepalive_timeout(int secs) //new
119 - int dim_get_keepalive_timeout() //new
120 - The functions have precedence over the environment variables.
121 - The server per client exit_handler functionality
122 (provided by dis_add_client_exit_handler()/dis_set_client_exit_handler())
123 wan not always working correctly (in case of write timeouts) - fixed.
124 - Changed the reporting of "Write Tiemout":
125 - Used to report only:
126 - "ERROR: Write Timeout, disconnecting from..."
127 - Now reports:
128 - "WARNING: Write Timeout, writing to ..."
129 - If it disconnects: "ERROR: Write Timeout, disconnecting from ..."
130 - If it reconnects later: "INFO: Re-connected to ..."
131
132
13314/09/2011
134Changes for version 19.26:
135 - In the notes for version 19.08 there is the following:
136 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
137 the wake_up event was triggered before dim_wait was called. Could affect smi++. Fixed.
138 - Amasingly enough this seems also to be the case for Linux, dim_wait could hang until there
139 was some new DIM activity, normally some timer firing... Fixed.
140 - The Linux DID now accepts an extra parameter: -dns=<dns_node_name>
141
14201/09/2011
143Changes for version 19.25:
144 - When a Client was releasing a service "at the same time" as the server was deleting the service,
145 The Connection could be released by mistake - fixed.
146 - The SERVICE_LIST service could be updated with an empty string if there were two consecutive
147 dis_start_serving() - fixed.
148
149
15008/08/2011
151Changes for version 19.24:
152 - The funtion DimInfo::getFormat() never return the correct format of a service, if the first time
153 it was called, the service was not available, i.e. when called inside a "no_link" callback - Fixed.
154 - Deleting the last service of a server or stopping a server could generate "Invalid Service Id"
155 messages from the service that updates DID - Fixed.
156
157
15815/07/2011
159Changes for version 19.23:
160 - The new functions:
161 int DimClient::inCallback()
162 int DimServer::inCallback()
163 Can be used to find out if the function is being called in the context of a DIM callback
164 handler (they return 1 if yes, 0 if no).
165 - There was no way to "remove" an errorHandler or exitHandler in C++.
166 Now the following functions accept 0 as parameter:
167 DimClient::addErrorHandler(0)
168 DimServer::addErrorHandler(0)
169 DimServer::addExitHandler(0)
170 DimServer::addClientExitHandler(0)
171 In order to remove them.
172 - The Windows Visual Studio Manifest file distributed since version v19r19 was wrong, so the latest
173 DIM versions did not work on Windows machines without Visual Studio 8 installed - Fixed.
174
175
17621/06/2011
177Changes for version 19.22:
178 - DIM servers would hang when tring to exit due to "Services already declared", if the user
179 exitHandler() didn't directly call exit (instead tried to exit later in the main program).
180 Fixed.
181 - Servers accept now also 'B' or 'V' as format, they are both equivalent to 'C'.
182 - In Linux when a server printed "Write timeout, disconecting from XXX", it didn't always
183 disconnect properly, so the client would not always reconnect afterwards. Fixed.
184
185
18631/05/2011
187Changes for version 19.21:
188 - Fixed a bug in DimRpcInfo: the timer for the timeout was started too late and sometimes the
189 RPC data was received in the meantime, so the timer was never stopped.
190
191
19204/05/2011
193Changes for version 19.20:
194 - Fixed a bug added in v19r18: The <server_name>/SERVICE_LIST was no longer reporting correctly
195 the disappearence of services (by a "-<service_name>" ). Fixed.
196
197
19827/04/2011
199Changes for version 19.19:
200 - Fixed a very very old (horrible) bug in dis.c and dns.c: there was a hardwired malloc(8),
201 which was only ok for 32 bit machines. It's amazing this didn't bring more trouble...
202
203
20407/04/2011
205Changes for version 19.18:
206 - The standard server service <server_name>/SERVICE_LIST had problems reporting the correct
207 information when used by several clients in paralel - fixed.
208
209
21011/03/2011
211Changes for version 19.17:
212 - The TCPIP "listen" backlog for a server was increased for all servers (including the DNS)
213 from 16 to the constant SOMAXCONN (128 on Linux at the moment, 200 on Windows ?)
214 - After a "fork" the DIM initialization sequence guided by semaphores was not correctly
215 handled, this made the forked children hang and not respond to DIM anymore - fixed.
216
217
21823/02/2011
219Changes for version 19.16:
220 - DimServer::stop() did not correctly clear the ServerName - fixed.
221 - The Linux DID now prints the DNS it is connected to in the title bar.
222
223
22420/12/2010
225Changes for version 19.15:
226 - Still fixing dis_stop_serving():
227 - The DNS sometimes gets a remove service message from a server, after the server has
228 closed the connection, this was not handled properly - fixed.
229 - Fixed yet another detail (variable not cleared) in the thread handling at dis_stop_serving().
230 - dtq.c now clears all timer_queues at dis_stop_serving()
231 - Added some protections in case of closed connections.
232
233
23410/12/2010
235Changes for version 19.14:
236 - Still fixing dis_stop_serving():
237 - Adedd pthread_join in linux to wait for threads to die
238 - the following dis_start_serving() would not reconnect to the DNS if the DNS connection
239 was pending (i.e. the DNS was stopped or restarted)
240
241
24206/12/2010
243Changes for version 19.13:
244 - Fixed a few compiler warnings in dis.c
245 - Added #ifndef PXI around some Windows setPriority calls
246 - dis_stop_serving() did not completely clean-up DIM so that another dis_start_serving()
247 could be done properly after for example a "fork()". Fixed.
248
249
25020/09/2010
251Changes for version 19.12:
252 - Fixed a bug added when removing warnings in v19r10 (dis.c and dns.c).
253
254
25507/06/2010
256Changes for version 19.11:
257 - Added some protections in update_service() in order to try to solve a DIP issue.
258 (related to very frequent updates of the same service in different threads)
259 - Added the possibility of defining timeouts for:
260 - DimBrowser::getServices
261 - DimBrowser::getServers
262 - DimBrowser::getServerServices
263 - DimBrowser::getServerClients
264 - Added the possibility of retrieving the time a command arrived:
265 - int dis_get_timestamp(int service_id, int *secs, int *millisecs) in C
266 - int DimCommand::getTimestamp() and int DimCommand::getTimestampMillisecs() in C++
267 - Added a "const" keyword to the "char *format" parameter in the constructors of
268 - DimService and DimCommand
269 - Added a call DimCommand::hasNext(), can be used when commands are queued.
270 - Fixed a memory leak when using DimService::setData and then dynamically deleting the
271 DimService
272
273
27417/02/2010
275Changes for version 19.10:
276 - Fixed a bug in the DNS related to the latest change (browsing for a single service name)
277 The DNS could crash when killing a server.
278 - Removed some compilation warnings
279
280
28104/01/2010
282Changes for version 19.09:
283 - Created two new functions: dis_set_debug_on() and dis_set_debug_off(), these
284 enable or disable printing a message per service update
285 - Tried to protect against:
286 - a service being deleted from the server while it is being updated
287 - a client unsubscribing from a service while it is being updated.
288 - Optimized the DNS when browsing for a service search pattern without wildcards
289 (i.e. browsing for a single service name)
290
291
29213/11/2009
293Changes for version 19.08:
294 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
295 the wake_up event was triggered before dim_wait was called. Could affect smi++.
296 Fixed.
297 - Fixed a compilation bug in dis.c that affected some platforms.
298
299
30030/10/2009
301Changes for version 19.07:
302 - Some more bugs related to being able to publish to more that one DNS fixed.
303
304
30528/10/2009
306Changes for version 19.06:
307 - When opening DNS connections, when the DNS is not there, from a process that is at the
308 same time a client and a server only one pending connection was used now two separate
309 ones are created.
310 - Tried to fix a few more problems related to dis_stop_serving...
311
312
31326/10/2009
314Changes for version 19.05:
315 - dis_stop_serving had stopped working in version 19.4. So all servers that undeclared
316 all services and then tried to re-declare new ones would fail (corrupted server name).
317 Affected in particular the DimBridge
318
319
32027/08/2009
321Changes for version 19.04:
322 - Added the following functions:
323 Server part:
324 C - dis_get_n_clients(int service_id)
325 C++ - int DimService::getNClients()
326 Client part (C++ only):
327 DimClient::setNoDataCopy()
328 This will prevent any data copy in the client and the user should make
329 sure that the data received from DIM is not used outside the callback
330 in order to benefir from this feature.
331 - Fixed the Java DIM Jar file, it was wrong in the previous version.
332
333
33431/07/2009
335Changes for version 19.03:
336 - Removed some more compilation warnings.
337 - Fixed a bug in the DNS. The mechanism for retrieving the "SERVER_LIST" when
338 some server names were longer that 35 characters was very slow.
339
340
34106/07/2009
342Changes for version 19.02:
343 - Fixed a bug in the server part handling of RPCs, it created a memory leak.
344 It was using a separate thread to handle timeouts and there is no safe way to
345 kill a thread from outside. Fixed.
346 - the function dim_stop_thread() is now obsolete.
347 - Added the possibility to change the send and receive buffer sizes:
348 - int dim_set_write_buffer_size(int size)
349 - int dim_get_write_buffer_size()
350 - int dim_set_read_buffer_size(int size)
351 - int dim_get_read_buffer_size()
352 The default (and minimum) is 16384 bytes.
353 These calls should be done before any other DIM calls.
354 - Fixed a bug in the Java DimBrowser class (the format was not returned correctly)
355
35604/05/2009
357Changes for version 19.01:
358 - A server can now publish to more than one DNS.
359 To use an extra DNS:
360 - in "C":
361 long dnsid;
362 char extra_dns[128];
363 ...
364 dim_get_env_var("EXTRA_DNS_NODE", extra_dns, sizeof(extra_dns));
365 dnsid = dis_add_dns(extra_dns,0);
366 sprintf(name1,"NewService%d",i);
367 dis_add_service_dns(dnsid, name1, "I", &NewData, sizeof(NewData),
368 (void *)0, 0 );
369 dis_start_serving_dns(dnsid, "xx_new");
370
371 - in C++:
372 DimServerDns *newDns;
373 char *extraDns = 0;
374 DimService *new_servint;
375 ...
376 extraDns = DimUtil::getEnvVar("EXTRA_DNS_NODE");
377 if(extraDns)
378 newDns = new DimServerDns(extraDns, 0, "new_TEST");
379 ...
380 if(extraDns)
381 new_servint = new DimService(newDns, "new_TEST/INTVAL",ival);
382
383 - Removed all warnings from DIM sources so that it can be compiled with -Wall -Wextra on Linux
384 - Changed the makefiles so that the default on Linux is now 64 bits.
385 - The flag 32BITS=yes can be added in order to generate 32 bit code
386
387
38826/02/2009
389Changes for version 18.05:
390 - Made the callback for "DIS_DNS/SERVER_LIST" uninterruptible, so that two clients subscribing
391 would not get mixed up answers.
392 - The same for "<server>/SERVICE_LIST"
393 - Tryied to fix a DNS crash, introduced in v18r4 by releasing the connection when "informing clients".
394 - removed some "//" comments in "C"
395
396
39720/02/2009
398Changes for version 18.04:
399 - Changed the dim_wait() mechanism, so that it works for several threads in parallel:
400 - On Linux it was based on POSIX semaphores now it is based on POSIX "condition
401 variables"
402 - On Windows it was based on "Auto Reset Events" now it uses "Manual Resel "Events"
403 - The DNS should now correctly update the "DIS_DNS/SERVER_LIST" service. It used to report
404 a new server, even when the services already existed and the server was killed by the DNS.
405 (And never report it killed). It also didn't report correctly when a server went out of "ERROR"
406 (this is reported as a "+" as for a new server).
407
408
40905/02/2009
410Changes for version 18.03:
411 - The list of registered services in a server could get corrupted in some rare cases
412 making the server crash - fixed.
413 - If the DNS couldn't talk to a client it could sometimes hang - fixed.
414 - Java client modifications:
415 - DimUpdatedInfo was not working correctly - fixed in dim_jni.c.
416 - Implemented DimRpcInfo
417 - Changed the DimBroser class to use DimRpcInfo.
418 - Added a jdim.jar file in the jdim/classes directory of the DIM distribution
419
420
42115/01/2009
422Changes for version 18.02:
423 - Added the following functions:
424 - C++ Client
425 - int DimClient.getServerPid()
426 - Java Client
427 - int DimClient.getServerPid()
428 - String[] DimBrowser.getServers()
429 - String DimBrowser.getServerNode(String server)
430 - int DimBrowser.getServerPid(String server)
431
432
43309/01/2009
434Changes for version 18.01:
435 - Added in the distribution the Visual Studio 8 dlls and manifest. Otherwise
436 it would not work on most PCs.
437
438
43903/12/2008
440Changes for version 18.00:
441 - The Windows execulables and libraries are now built using Visual Studio 8
442 - Some changes added by GSI mainly in the Java Native Interface
443
444
44506/11/2008
446Changes for version 17.12:
447 - Client functionality:
448 - Added a new function dic_stop(), to close anything related to DIM
449 for a client
450 - Added the function dic_get_server_pid(). Similar to dic_get_server().
451 Can be executed in a callback to retrieve the pid of the current server
452 - DimBrowser Class:
453 - DimBrowser::getServices() used to create and destroy the DimRpc connection
454 to the Dns every time it was called. This was heavy if called in a loop.
455 Now the connection is maintained until the DimBrowser itself is destroyed.
456 - A new method DimBrowser::getNextServer(char *&server, char *&node, int *pid)
457 has been created. similar to the previous one but returns also the server pid.
458 - DNS
459 - The DNS was still doing some blocking write calls to servers or clients.
460 Now all write calls have a timeout and can not block forever.
461 - Linux DID
462 - The "Subscribe" button was subscribing to services with update rate of 10 seconds.
463 This was misleading, the users could think the server was calling update_service
464 when it wasn't.
465 Now there are two Subscribe buttons ("on change" or "Update rate of 10 seconds").
466 - DimDridge
467 - Accepts an extra flag "-copy" which provokes an internal copy of the data.
468
469
47008/09/2008
471Changes for version 17.11:
472 - Some DIM Processes, servers or clients could enter a loop taking 100 % CPU
473 time in some rare occasions, fixed.
474 - Added some protections when removing services in the DimBridge.
475
476
47730/08/2008
478Changes for version 17.10:
479 - Some DIM Processes, servers or clients would not reconnect when the DNS was
480 restarted. Fixed two cause:
481 - Some processes in Linux were stuck reading from the DNS socket
482 - Some others "forgot" to set a timer under very special conditions
483 - Changed some of the DNS debug messages to be more explicit.
484
485
48621/07/2008
487Changes for version 17.09:
488 - DIM error messages were not being flushed when the output was redirected
489 to a logfile, fixed.
490
491
49218/07/2008
493Changes for version 17.08:
494 - Sometimes a server or a client could do a read on a sockect that had just
495 been closed which left them hanging forever - fixed.
496
497
49801/07/2008
499Changes for version 17.07:
500 - The DimTimer was sometimes not started when the constructor was called
501 with a time argument.
502 - Clients could not connect to more than 1024 servers - fixed.
503 (if the machine allows more than 1024 connections)
504
505
50630/06/2008
507Changes for version 17.06:
508 - Corrected the makefile for Darwin, now the number of accepted connections is
509 increased to 8192 only for Linux.
510 - Fixed a bug in the DimTimer, it used to accept to be re-started, but then crashed
511 at destruction time if not stopped the same number of times. Now it can not be
512 re-started.
513 - The Dns used to ask servers to re-register at regular intervals when they were not
514 sending their watchdog messages (i.e. they were in "ERROR", red in DID). Now the
515 DNS only asks once (unless they answer). This could cause the DNS to hang if
516 servers were in ERROR for a long time.
517 - The Dns now accepts a command line parameter: -d to print debug messages.
518 - The clients were not handling properly the case when they could contact the DNS
519 but then they could not contact the server that the DNS gave them (either because
520 of a firewall or because the server run on an inaccessible network). In this case
521 the clients would timeout trying to contact the server for each service and kept
522 asking the DNS the server coordinates over and over again. Now the clients keep
523 a list on unreacheable servers, so they don't try to contact the server for each
524 service and only ask the DNS again with an increasing interval that goes from 10
525 seconds to 2 minutes maximum.
526 - The server now issues an error message if the format string is too long.
527 - Linux DID
528 - Removed the command "Kill ALL Servers", it was too dangerous
529 - Now the list of nodes in "View Servers by Node" is in alphabetical order and
530 in lowercase.
531
532
53330/04/2008
534Changes for version 17.05:
535 - In Linux in some cases a SIGPIPE was generated. Normally the DIM library sets
536 the behaviour of SIGPIPE to ignored, but if another library or main program
537 changes the SIGPIPE behaviour, then the application could exit when the SIGPIPE
538 was generated. Fixed - on Linux now the function send with flag MSG_NOSIGNAL
539 is used in oder to avoid generating SIGPIPE.
540
541
542
5434/04/2008
544Changes for version 17.04:
545 - Sometimes processes (servers or clients) would hang when the DNS was restarted.
546 This was due to a strange (Windows?) feature, by which a connect could succeed
547 after a connection was closed (and reported) on the other side. Fixed.
548
549
550
55127/03/2008
552Changes for version 17.03:
553 - Can now make DID for 64 bits by making DIM using:
554 gmake X64=yes all
555 - Increased the size of the Hash tables for the servers and the DNS.
556
557
558
55920/02/2008
560Changes for version 17.02:
561 - Fixed the Java DimTimer - stop() didn't work
562 Required changing dim_jni.c as well as the java part
563 - Fixed DIM for Darwin - had stopped working
564
565
566
56720/01/2008
568Changes for version 17.01:
569 - The Java API now works on 64 bit machines, Thanks to Joern Adamczewski.
570 Please use:
571 gmake JDIM=yes all
572 - Linux executables are now compiled/linked on slc4 (32 bits).
573 - Big changes in the DimRpcs both client and server part. Tere were bugs
574 related to the handling of timeouts.
575 Unfortunatelly all applications using RPCs need to be re-linked.
576
577
578
579-----------------------------------------------------------------------------------------
580Previous version history:
581
58207/12/2007
583Changes for version 16.14:
584 - Now by default All DIM processes are ready to accept up to 8192 connections, both
585 in Linux and Windows. Although in Linux for this to be effective the machine system
586 limits must allow more than 1024 descriptors/open files per process.
587 - Fixed a little memory leak in tokenstring.cxx
588 - And a little compilation bug for some platforms in tcpip.c
589
590
59115/05/2007
592Changes for version 16.13:
593 - If DIM_HOST_NODE is defined when starting up a server, a DIM client will now try
594 two network interfaces in order to talk to that server and only give up if they both
595 fail. First it will try the ip name or ip address specified by the server using
596 DIM_HOST_NODE, if that fails it will try the ip address of the default interface
597 retrieved by the server using gethostname (and gethostbyname).
598 The changes basically affect the case in which the DIM_HOST_NODE given to the servers
599 is specified as IP address instad of an IP name. Otherwise this mechanism was already
600 working.
601
602
6033/05/2007
604Changes for version 16.12:
605 - The Java version did not exit properly when main() terminated - fixed.
606
607
60825/04/2007
609Changes for version 16.11:
610 - On Linux the timeout to detect a lost connections (unplugged ethernet cable
611 or machine reboot) was too long, around 15 minutes - Fixed.
612 On Linux the KEEPALIVE feature is now used instead of a regular socket write,
613 all other platforms should work as before.
614
615
61621/02/2007
617Changes for version 16.10:
618 - Found a bug in dis_stop_serving: one socket connection was not closed - fixed.
619 - Implemented a new environment variable for the DNS: DIM_DNS_ACCEPTED_NODES
620 Can receive a list on nodes or domains separated by commas.
621 If the DNS receives a connection from a node not in this list, it will
622 reject it and kill the server or client requesting it.
623 - Fixed some C++ warnings.
624
625
62619/01/2007
627Changes for version 16.9:
628 - The modifications done in version 16.8 have introduced a bug:
629 - DIM servers would not behave properly (exit) when receiving a kill command
630 from the DNS (for duplicated services, not allowed host names or manual "kill")
631 This is now fixed.
632
633
63430/10/2006
635Changes for version 16.8:
636 - Modified dis_stop_serving() and DimServer::stop() to completely stop DIM:
637 - Stop also the DIM threads.
638 - Release all allocated memory
639 - Allow a different port number when re-starting.
640
641
64211/07/2006
643Changes for version 16.7:
644 - Prepared for increasing the number of open connections per process
645 (On Linux still requires changing some parameters and recompiling the Dns)
646 - Fixed one error and several warnings for gcc 4.
647
648
64911/05/2006
650Changes for version 16.6:
651 - Sometimes a server or client would crash while exiting if the DNS was not running.
652 Fixed.
653 - Fixed the reporting of some ERROR messages on Windows (used to report error "0")
654 - Allowed dim_send_command to receive instead of -dns <node_name>
655 -dns <node_name>[:<port_number>]
656
657
65801/05/2006
659Changes for version 16.5:
660 - Big Spring Cleanup. Removed most warnings. Can now be compiled on
661 Windows with Warning Level 3 and on Linux with -Wall
662 (still not working for -ansi -pedantic...)
663 - When trying to access a server in a different network (i.e. not reacheable)
664 a client (for example DID) would take very very long to timeout - fixed.
665 - Added two new sets of functions that allow setting the DIM_DNS_NODE separately
666 for a server and a client in the same process:
667 - int dis_set_dns_node(char *node)
668 - int dis_get_dns_node(char *node)
669 - int dis_set_dns_port(int port)
670 - int dis_get_dns_port()
671
672 - int dic_set_dns_node(char *node)
673 - int dic_get_dns_node(char *node)
674 - int dic_set_dns_port(int port)
675 - int dic_get_dns_port()
676 These routines should be used instead of the equivalent ones starting with "dim_"
677 since these set the same DIM_DNS_NODE/port for both Server and client parts of a
678 process.
679 - Adapted the C++ equivalents (DimClient::setDnsNode, etc. and DimServer::setDnsNode,
680 etc.) to use the new routines, so they are now independent.
681 Adapted also the Java equivalents.
682 - Fixed DimBridge to use the new routines.
683 - Fixed a bug in DID that made it crash sometimes at startup (and also when the DNS
684 restarted)!
685 - Found some very interesting features of DIM:
686 - In a node with two ethernet interfaces (so connected to two networks):
687 - The DNS will answer to servers and client on both networks, only its server
688 part - DIS_DNS (the one that answers to DID and DimBrowser requests) would
689 in principle answer only to one of the networks (in principle the default
690 interface* but can be changed by setting the environment variable "DIM_HOST_NODE").
691 - But, in fact, if the DNS or any server is started with the environment variable
692 DIM_HOST_NODE set to the interface that is not the default* one. Than both the
693 DNS (including the server part) and the DIM servers will be accessible from both
694 networks. For example DID will work fine on both networks.
695 * The command "hostname" will return the name of the default network interface.
696
697 Note: As a result of inserting new functions the DIM shared library entry points have
698 changed, so all DIM Servers/Clients should be relinked (in particular in Linux).
699
700
70120/04/2006
702Changes for version 16.4:
703 - Optimized the DNS for providing the list or running servers dynamically
704 by subscribing to the service "DIS_DNS/SERVER_LIST"
705
706
70707/04/2006
708Changes for version 16.3:
709 - Upgraded to work on LynxOS Version 4.
710 - Updated makefile for INTEL platform
711 - Updated some ifdefs based on the existence of __Lynx__
712
713
71410/03/2006
715Changes for version 16.2:
716 - Increased the listen queue. To avoid "Connection Refused" messages from servers
717 or from the DNS.
718
719
72028/02/2006
721Changes for version 16.1:
722 - Fixed the NO_THREADS option for LINUX, it had stopped working.
723 - DimInfo::getData() could return an invalid pointer if called before connecting
724 to the server (or discovering the server did not exist). Fixed
725 (it now returns 0 in this case).
726
727
72809/11/2005
729Changes for version 16.0:
730 - Consolidated the new timer handling mechanism, should be much more precise.
731 - Fixed the RPC handling. Used to be based on timming assumptions.
732 Now uses a safe protocol to make sure the server is connected before sending
733 an RPC request.
734 - Included in the distribution some performance measurements and a benchmark
735 server and client. Sources in src/benchmark executables in /bin for windows
736 and /linux for linux.
737 Usage:
738 benchServer <message_size_in_bytes> <number_of_services>
739 benchClient
740 benchClient will run for a while and print the measurement results.
741
742Please check the Manual for more information at:
743 http://www.cern.ch/dim
Note: See TracBrowser for help on using the repository browser.