source: trunk/FACT++/dim/README_v20.txt@ 14627

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