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

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