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

Last change on this file since 18514 was 18349, checked in by tbretz, 9 years ago
Updated to v20r15
File size: 35.9 KB
Line 
1
2 DIM version 20r15 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 2015.
20
2101/09/2015
22Changes for version 2015:
23 - A DIM Server did not properly accept a DimServer::stop(), folowed by a DimServer::start(),
24 also DID didn't cope with the above, in particular if the server changed name - Fixed.
25
26
2709/03/2015
28Changes for version 2014:
29 - A DIM command could be discarded if the DNS connection went stale and the first attempt
30 to use it was to send a command. (Introduced a Keepalive between clients and the DNS)
31
32
3322/01/2014
34Changes for version 2013:
35 - Tried to improve in the DNS the handling of many connections at startup
36 (and many applications "simultaneous" restart)
37
38
3903/12/2014
40Changes for version 2012:
41 - In Linux the number of connections is now completely dynamic.
42 (replaced select by poll)
43 - Changed the default SEND and RECV buffer sizes per connection from 16Kb to 64Kb
44 (except for the DNS connections: 32 Kb, to limit the memory increase)
45 - Changed the DNS Keepalive timeout from 15 to 20 seconds (to use a little less CPU)
46
47
4824/10/2014
49Changes for version 2011:
50 - Increased the Max. num of connections for DNS and servers to 16384 (from 8192)
51 - Increased also slightly the DNS hash table
52
53
5417/09/2014
55Changes for version 2010:
56 - When a client connects to a server using the IP Address, instead of IP name,
57 a reverse lookup "validity" test is no longer performed.
58 - Fixed the Error reporting for tcpip connections, messages like:
59 "(ERROR) Client Connecting to XXX on YYY: Success"
60 should no longer exist.
61 - The "C" version can now be called directly from C++ using only dis.h or dic.h
62 instead of dis.hxx or dic.hxx.
63 (several const definitions and "extern "C" added in included prototypes)
64
65
6617/07/2014
67Changes for version 2009:
68 - Tried to fix more "Invalid Service ID" messages when creating/deleting services/commands in a server.
69 (By protecting the service/command creation/destruction in C++)
70 - Fixed a problem for Raspberry Pi (where "char" is "unsigned char" by default)
71 - The feature of increasing the maximum nember of connections stopped working with glibc 2.19.
72 Fixed.
73
74
7505/04/2013
76Changes for version 2007:
77 - DIM servers were allocating a lot of (possibly) unnecessary memory at startup - fixed.
78 - Tried to fix "Invalid Service ID" messages when creating services/commands in a server.
79 (By protecting the service/command creation in C++)
80 - Fixed many compilation warnings when adding gcc flag -Wconvertion
81 - DIM releases are now:
82 - Windows:
83 - Compiled on Windows 7 Visual Studio 10
84 - Distributed in /bin32 for 32 bits and /bin for 64 bits
85 - Linux:
86 - Compiled on SLC6 with gcc 4.4
87 - Distributed in /linux for 64 bits
88
89
9017/01/2013
91Changes for version 2006:
92 - Changes only affecting the Linux version of DIM:
93 - v20r5 changes related to removing the masking of signals could cause problems in single thread
94 applications, like smiGUI. The masking/unmasking of signals is now conditional, implemented by a
95 global variable in the DIM shareable library.
96 - Changed the DID makefile in order to make sure the correct libdim.so in used when linking.
97 - Changes in DID:
98 - When the list of nodes was long, the list was very slow to display - fixed.
99 - If it was really very long, it crashed - fixed.
100 - In nodes were reported by IPAdress, show servers by node didn't work - fixed.
101
102
10321/12/2012
104Changes for version 2005:
105 - Moved the WebDID sources to the src directory and the VS settings to the Visual directory
106 - In the Multithreaded (the default) version of DIM, signals are not touched anymore.
107 Before they were masked/unmasked at every dim lock/unlock occurence (Linux only).
108 - Fixes in WebDID:
109 - Now DIM nodes defined by an IP Address are shown properly (by IP Name)
110 - WebDID looks for the Javascript files in the same directory where its executable is
111 (independently of where it is started from)
112
113
11421/11/2012
115Changes for version 2004:
116 - WebDid did not compile under SLC5, fixed.
117 - Removed several Compiler warnings under SLC5
118
119
12020/11/2012
121Changes for version 2003:
122 - Added the project settings for Visual Studio 10 in the Visual directory
123 - Added a bin64 directory containing binaries for Windows7 (and 2008 R2) 64 bits
124 - Added a prototype webDid. in order to use it:
125 - In the same machine when the DIM DNS runs start <dim>/WebDid/webDid
126 - In any machine from where the DIM DNS is reacheable on your favorite Web browser use as URL:
127 http://<DIM DNS node name>:2500
128
129
13007/11/2012
131Changes for version 2002:
132 - Still problems with size=0 "no link" parameters - hopefully fixed.
133
134
13507/11/2012
136Changes for version 2001:
137 - First official release containing the Windows 64 bits fix.
138 - The changes in version v19r35 specifying the behaviour when giving a null pointer and size 0 as
139 "no link" parameters only worked well in "C", not in C++ callbacks - fixed.
140
141
14204/10/2012
143Changes for version 19.39:
144 - Unfortunately Windows, unlike Linux, does not use LP64 convention for 64 bits,
145 i.e. the type long is a 32 bit variable (?!?!?!)
146 So created a dim_long type which can always hold a pointer
147
148
14909/08/2012
150Changes for version 19.38:
151 - The timeout used by clients and servers to try to reconnect to a DNS was supposed to be random,
152 to avoid all processes retrying at the same time, but it wasn't - fixed.
153
154
15527/06/2012
156Changes for version 19.37:
157 - DIM DNS crashed for servers with a task name bigger than 80 characters - Fixed.
158
159
16022/06/2012
161Changes for version 19.36:
162 - The internal "DIS_DNS/KILL_SERVERS" command can now be used to pass a user defined exit_code to
163 the servers. The servers will get this exit_code in their exit_handler.
164 Although the exit_code passed to the "DIS_DNS/KILL_SERVERS" command is an integer, only the lower
165 16 bits can be used, i.e. only these bits are passed to the servers.
166
167
16824/05/2012
169Changes for version 19.35:
170 - Fixed the DimInfo() default constructor, now if the default constructor is called, it doesn't cause the
171 destructor to crash anymore.
172 - Made available to DimInfo, DimStampedInfo, DimUpdatedInfo and DimCurrentInfo the method:
173 - void subscribe(char *name, void *nolink, int nolinksize, int time, DimInfoHandler *handler)
174 Like this the default constructor can be called and then this method called later to subscribe
175 whenever needed.
176 - The behaviour of giving a null pointer and size 0 as "no link" parameters was not completely
177 defined. The user could get back either a null pointer or an "invalid" pointer in the callbacks.
178 This is now well-defined:
179 - If null pointer and size 0 is used at subscribe, the user will get null pointer and size 0 in the callback.
180 - If a negative size is passed at subscribe the callback is not called at all.
181
182
18303/05/2012
184Changes for version 19.34:
185 - Changed back to dna_write_nowait() the message that the server sends to the client when removing
186 a service. This was causing clients not to reconnect ever again when the server removed services.
187 (because the client would get the info much before the DNS, so it would keep trying to reconnect
188 and failing even though the service or even the server didn't exist anymore, without asking the DNS)
189 - Changed the client in order to avoid the behaviour above, i.e. if sending the service request fails it
190 asks the DNS again.
191
192
19323/04/2012
194Changes for version 19.33:
195 - A bug was introduced in v19r30. When trying to retry immediately, a dtq_start_timer(0)
196 was used (like for dna_write). This is not possible because the callback is not protected
197 by a DIM lock. Fixed. (in v19r32)
198 - Small tidy up in dic.c and protecting the move_to_xxx functions.
199 - When a server received an unsubscribe from the last subscribed service of a client it was closing the
200 connection to the client, this is not good because there could be commands being sent. In any case
201 it should be up to the client to close the connection - Fixed.
202 - dim_send_command now accepts a "-i" argument to send integer data (default is string)
203
204
20530/03/2012
206Changes for version 19.31:
207 - changed dna_write to dna_write_nowait for servers when removing a service and for clients
208 when releasing and subscribing to a service. Dna_write cannot be used for the same connection
209 as dna_write_nowait as it will mingle the packets.
210 - Removed more compiler warnings.
211
212
21314/03/2012
214Changes for version 19.30:
215 - Sometimes when trying to open a connection to a server the client could backoff for too
216 long (10 seconds), now it will retry immediately and then at increasing intervals.
217 - dim_stop() would sometimes not properly stop all threads if a new connection was received
218 in the mean time.
219 - The DimServerDns destructor could crash, fixed.
220 - Removed some compiler warnings about variables set but not used.
221 - Two new functions available:
222 - dim_set_listen_backlog(int size)
223 - int dim_get_listen_backlog()
224 - The DNS will set the listen_backlog to 1024 at startup, but the OS will truncate it to
225 a maximum limit (available in /proc/sys/net/core/somaxconn, linux default=128),
226 while for servers the constant SOMAXCONN is used.
227
228
22906/02/2012
230Changes for version 19.28:
231 - Added more log messages when a "Write Timeout" occurs to know where it originated.
232 - A server could sometimes not release the connection in case of a "Write Timeout", and
233 then keep on timing out for each message on this connection - fixed.
234
235
23619/01/2012
237Changes for version 19.27:
238 - Updated the DIM Makefiles for MacOSX (Darwin)
239 - Added New possibilities to change DIM timeouts:
240 - 2 New Environment variables:
241 - DIM_WRITE_TMOUT (default: 5)
242 - DIM_KEEPALIVE_TMOUT (default: 15)
243 - Same functionality as the functions:
244 - dim_set_write_timeout(int secs)
245 - int dim_get_write_timeout()
246 - dim_set_keepalive_timeout(int secs) //new
247 - int dim_get_keepalive_timeout() //new
248 - The functions have precedence over the environment variables.
249 - The server per client exit_handler functionality
250 (provided by dis_add_client_exit_handler()/dis_set_client_exit_handler())
251 wan not always working correctly (in case of write timeouts) - fixed.
252 - Changed the reporting of "Write Tiemout":
253 - Used to report only:
254 - "ERROR: Write Timeout, disconnecting from..."
255 - Now reports:
256 - "WARNING: Write Timeout, writing to ..."
257 - If it disconnects: "ERROR: Write Timeout, disconnecting from ..."
258 - If it reconnects later: "INFO: Re-connected to ..."
259
260
26114/09/2011
262Changes for version 19.26:
263 - In the notes for version 19.08 there is the following:
264 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
265 the wake_up event was triggered before dim_wait was called. Could affect smi++. Fixed.
266 - Amasingly enough this seems also to be the case for Linux, dim_wait could hang until there
267 was some new DIM activity, normally some timer firing... Fixed.
268 - The Linux DID now accepts an extra parameter: -dns=<dns_node_name>
269
27001/09/2011
271Changes for version 19.25:
272 - When a Client was releasing a service "at the same time" as the server was deleting the service,
273 The Connection could be released by mistake - fixed.
274 - The SERVICE_LIST service could be updated with an empty string if there were two consecutive
275 dis_start_serving() - fixed.
276
277
27808/08/2011
279Changes for version 19.24:
280 - The funtion DimInfo::getFormat() never return the correct format of a service, if the first time
281 it was called, the service was not available, i.e. when called inside a "no_link" callback - Fixed.
282 - Deleting the last service of a server or stopping a server could generate "Invalid Service Id"
283 messages from the service that updates DID - Fixed.
284
285
28615/07/2011
287Changes for version 19.23:
288 - The new functions:
289 int DimClient::inCallback()
290 int DimServer::inCallback()
291 Can be used to find out if the function is being called in the context of a DIM callback
292 handler (they return 1 if yes, 0 if no).
293 - There was no way to "remove" an errorHandler or exitHandler in C++.
294 Now the following functions accept 0 as parameter:
295 DimClient::addErrorHandler(0)
296 DimServer::addErrorHandler(0)
297 DimServer::addExitHandler(0)
298 DimServer::addClientExitHandler(0)
299 In order to remove them.
300 - The Windows Visual Studio Manifest file distributed since version v19r19 was wrong, so the latest
301 DIM versions did not work on Windows machines without Visual Studio 8 installed - Fixed.
302
303
30421/06/2011
305Changes for version 19.22:
306 - DIM servers would hang when tring to exit due to "Services already declared", if the user
307 exitHandler() didn't directly call exit (instead tried to exit later in the main program).
308 Fixed.
309 - Servers accept now also 'B' or 'V' as format, they are both equivalent to 'C'.
310 - In Linux when a server printed "Write timeout, disconecting from XXX", it didn't always
311 disconnect properly, so the client would not always reconnect afterwards. Fixed.
312
313
31431/05/2011
315Changes for version 19.21:
316 - Fixed a bug in DimRpcInfo: the timer for the timeout was started too late and sometimes the
317 RPC data was received in the meantime, so the timer was never stopped.
318
319
32004/05/2011
321Changes for version 19.20:
322 - Fixed a bug added in v19r18: The <server_name>/SERVICE_LIST was no longer reporting correctly
323 the disappearence of services (by a "-<service_name>" ). Fixed.
324
325
32627/04/2011
327Changes for version 19.19:
328 - Fixed a very very old (horrible) bug in dis.c and dns.c: there was a hardwired malloc(8),
329 which was only ok for 32 bit machines. It's amazing this didn't bring more trouble...
330
331
33207/04/2011
333Changes for version 19.18:
334 - The standard server service <server_name>/SERVICE_LIST had problems reporting the correct
335 information when used by several clients in paralel - fixed.
336
337
33811/03/2011
339Changes for version 19.17:
340 - The TCPIP "listen" backlog for a server was increased for all servers (including the DNS)
341 from 16 to the constant SOMAXCONN (128 on Linux at the moment, 200 on Windows ?)
342 - After a "fork" the DIM initialization sequence guided by semaphores was not correctly
343 handled, this made the forked children hang and not respond to DIM anymore - fixed.
344
345
34623/02/2011
347Changes for version 19.16:
348 - DimServer::stop() did not correctly clear the ServerName - fixed.
349 - The Linux DID now prints the DNS it is connected to in the title bar.
350
351
35220/12/2010
353Changes for version 19.15:
354 - Still fixing dis_stop_serving():
355 - The DNS sometimes gets a remove service message from a server, after the server has
356 closed the connection, this was not handled properly - fixed.
357 - Fixed yet another detail (variable not cleared) in the thread handling at dis_stop_serving().
358 - dtq.c now clears all timer_queues at dis_stop_serving()
359 - Added some protections in case of closed connections.
360
361
36210/12/2010
363Changes for version 19.14:
364 - Still fixing dis_stop_serving():
365 - Adedd pthread_join in linux to wait for threads to die
366 - the following dis_start_serving() would not reconnect to the DNS if the DNS connection
367 was pending (i.e. the DNS was stopped or restarted)
368
369
37006/12/2010
371Changes for version 19.13:
372 - Fixed a few compiler warnings in dis.c
373 - Added #ifndef PXI around some Windows setPriority calls
374 - dis_stop_serving() did not completely clean-up DIM so that another dis_start_serving()
375 could be done properly after for example a "fork()". Fixed.
376
377
37820/09/2010
379Changes for version 19.12:
380 - Fixed a bug added when removing warnings in v19r10 (dis.c and dns.c).
381
382
38307/06/2010
384Changes for version 19.11:
385 - Added some protections in update_service() in order to try to solve a DIP issue.
386 (related to very frequent updates of the same service in different threads)
387 - Added the possibility of defining timeouts for:
388 - DimBrowser::getServices
389 - DimBrowser::getServers
390 - DimBrowser::getServerServices
391 - DimBrowser::getServerClients
392 - Added the possibility of retrieving the time a command arrived:
393 - int dis_get_timestamp(int service_id, int *secs, int *millisecs) in C
394 - int DimCommand::getTimestamp() and int DimCommand::getTimestampMillisecs() in C++
395 - Added a "const" keyword to the "char *format" parameter in the constructors of
396 - DimService and DimCommand
397 - Added a call DimCommand::hasNext(), can be used when commands are queued.
398 - Fixed a memory leak when using DimService::setData and then dynamically deleting the
399 DimService
400
401
40217/02/2010
403Changes for version 19.10:
404 - Fixed a bug in the DNS related to the latest change (browsing for a single service name)
405 The DNS could crash when killing a server.
406 - Removed some compilation warnings
407
408
40904/01/2010
410Changes for version 19.09:
411 - Created two new functions: dis_set_debug_on() and dis_set_debug_off(), these
412 enable or disable printing a message per service update
413 - Tried to protect against:
414 - a service being deleted from the server while it is being updated
415 - a client unsubscribing from a service while it is being updated.
416 - Optimized the DNS when browsing for a service search pattern without wildcards
417 (i.e. browsing for a single service name)
418
419
42013/11/2009
421Changes for version 19.08:
422 - Since version v18r4 where dim_wait() was modified, dim_wait could hang in windows if
423 the wake_up event was triggered before dim_wait was called. Could affect smi++.
424 Fixed.
425 - Fixed a compilation bug in dis.c that affected some platforms.
426
427
42830/10/2009
429Changes for version 19.07:
430 - Some more bugs related to being able to publish to more that one DNS fixed.
431
432
43328/10/2009
434Changes for version 19.06:
435 - When opening DNS connections, when the DNS is not there, from a process that is at the
436 same time a client and a server only one pending connection was used now two separate
437 ones are created.
438 - Tried to fix a few more problems related to dis_stop_serving...
439
440
44126/10/2009
442Changes for version 19.05:
443 - dis_stop_serving had stopped working in version 19.4. So all servers that undeclared
444 all services and then tried to re-declare new ones would fail (corrupted server name).
445 Affected in particular the DimBridge
446
447
44827/08/2009
449Changes for version 19.04:
450 - Added the following functions:
451 Server part:
452 C - dis_get_n_clients(int service_id)
453 C++ - int DimService::getNClients()
454 Client part (C++ only):
455 DimClient::setNoDataCopy()
456 This will prevent any data copy in the client and the user should make
457 sure that the data received from DIM is not used outside the callback
458 in order to benefir from this feature.
459 - Fixed the Java DIM Jar file, it was wrong in the previous version.
460
461
46231/07/2009
463Changes for version 19.03:
464 - Removed some more compilation warnings.
465 - Fixed a bug in the DNS. The mechanism for retrieving the "SERVER_LIST" when
466 some server names were longer that 35 characters was very slow.
467
468
46906/07/2009
470Changes for version 19.02:
471 - Fixed a bug in the server part handling of RPCs, it created a memory leak.
472 It was using a separate thread to handle timeouts and there is no safe way to
473 kill a thread from outside. Fixed.
474 - the function dim_stop_thread() is now obsolete.
475 - Added the possibility to change the send and receive buffer sizes:
476 - int dim_set_write_buffer_size(int size)
477 - int dim_get_write_buffer_size()
478 - int dim_set_read_buffer_size(int size)
479 - int dim_get_read_buffer_size()
480 The default (and minimum) is 16384 bytes.
481 These calls should be done before any other DIM calls.
482 - Fixed a bug in the Java DimBrowser class (the format was not returned correctly)
483
48404/05/2009
485Changes for version 19.01:
486 - A server can now publish to more than one DNS.
487 To use an extra DNS:
488 - in "C":
489 long dnsid;
490 char extra_dns[128];
491 ...
492 dim_get_env_var("EXTRA_DNS_NODE", extra_dns, sizeof(extra_dns));
493 dnsid = dis_add_dns(extra_dns,0);
494 sprintf(name1,"NewService%d",i);
495 dis_add_service_dns(dnsid, name1, "I", &NewData, sizeof(NewData),
496 (void *)0, 0 );
497 dis_start_serving_dns(dnsid, "xx_new");
498
499 - in C++:
500 DimServerDns *newDns;
501 char *extraDns = 0;
502 DimService *new_servint;
503 ...
504 extraDns = DimUtil::getEnvVar("EXTRA_DNS_NODE");
505 if(extraDns)
506 newDns = new DimServerDns(extraDns, 0, "new_TEST");
507 ...
508 if(extraDns)
509 new_servint = new DimService(newDns, "new_TEST/INTVAL",ival);
510
511 - Removed all warnings from DIM sources so that it can be compiled with -Wall -Wextra on Linux
512 - Changed the makefiles so that the default on Linux is now 64 bits.
513 - The flag 32BITS=yes can be added in order to generate 32 bit code
514
515
51626/02/2009
517Changes for version 18.05:
518 - Made the callback for "DIS_DNS/SERVER_LIST" uninterruptible, so that two clients subscribing
519 would not get mixed up answers.
520 - The same for "<server>/SERVICE_LIST"
521 - Tryied to fix a DNS crash, introduced in v18r4 by releasing the connection when "informing clients".
522 - removed some "//" comments in "C"
523
524
52520/02/2009
526Changes for version 18.04:
527 - Changed the dim_wait() mechanism, so that it works for several threads in parallel:
528 - On Linux it was based on POSIX semaphores now it is based on POSIX "condition
529 variables"
530 - On Windows it was based on "Auto Reset Events" now it uses "Manual Resel "Events"
531 - The DNS should now correctly update the "DIS_DNS/SERVER_LIST" service. It used to report
532 a new server, even when the services already existed and the server was killed by the DNS.
533 (And never report it killed). It also didn't report correctly when a server went out of "ERROR"
534 (this is reported as a "+" as for a new server).
535
536
53705/02/2009
538Changes for version 18.03:
539 - The list of registered services in a server could get corrupted in some rare cases
540 making the server crash - fixed.
541 - If the DNS couldn't talk to a client it could sometimes hang - fixed.
542 - Java client modifications:
543 - DimUpdatedInfo was not working correctly - fixed in dim_jni.c.
544 - Implemented DimRpcInfo
545 - Changed the DimBroser class to use DimRpcInfo.
546 - Added a jdim.jar file in the jdim/classes directory of the DIM distribution
547
548
54915/01/2009
550Changes for version 18.02:
551 - Added the following functions:
552 - C++ Client
553 - int DimClient.getServerPid()
554 - Java Client
555 - int DimClient.getServerPid()
556 - String[] DimBrowser.getServers()
557 - String DimBrowser.getServerNode(String server)
558 - int DimBrowser.getServerPid(String server)
559
560
56109/01/2009
562Changes for version 18.01:
563 - Added in the distribution the Visual Studio 8 dlls and manifest. Otherwise
564 it would not work on most PCs.
565
566
56703/12/2008
568Changes for version 18.00:
569 - The Windows execulables and libraries are now built using Visual Studio 8
570 - Some changes added by GSI mainly in the Java Native Interface
571
572
57306/11/2008
574Changes for version 17.12:
575 - Client functionality:
576 - Added a new function dic_stop(), to close anything related to DIM
577 for a client
578 - Added the function dic_get_server_pid(). Similar to dic_get_server().
579 Can be executed in a callback to retrieve the pid of the current server
580 - DimBrowser Class:
581 - DimBrowser::getServices() used to create and destroy the DimRpc connection
582 to the Dns every time it was called. This was heavy if called in a loop.
583 Now the connection is maintained until the DimBrowser itself is destroyed.
584 - A new method DimBrowser::getNextServer(char *&server, char *&node, int *pid)
585 has been created. similar to the previous one but returns also the server pid.
586 - DNS
587 - The DNS was still doing some blocking write calls to servers or clients.
588 Now all write calls have a timeout and can not block forever.
589 - Linux DID
590 - The "Subscribe" button was subscribing to services with update rate of 10 seconds.
591 This was misleading, the users could think the server was calling update_service
592 when it wasn't.
593 Now there are two Subscribe buttons ("on change" or "Update rate of 10 seconds").
594 - DimDridge
595 - Accepts an extra flag "-copy" which provokes an internal copy of the data.
596
597
59808/09/2008
599Changes for version 17.11:
600 - Some DIM Processes, servers or clients could enter a loop taking 100 % CPU
601 time in some rare occasions, fixed.
602 - Added some protections when removing services in the DimBridge.
603
604
60530/08/2008
606Changes for version 17.10:
607 - Some DIM Processes, servers or clients would not reconnect when the DNS was
608 restarted. Fixed two cause:
609 - Some processes in Linux were stuck reading from the DNS socket
610 - Some others "forgot" to set a timer under very special conditions
611 - Changed some of the DNS debug messages to be more explicit.
612
613
61421/07/2008
615Changes for version 17.09:
616 - DIM error messages were not being flushed when the output was redirected
617 to a logfile, fixed.
618
619
62018/07/2008
621Changes for version 17.08:
622 - Sometimes a server or a client could do a read on a sockect that had just
623 been closed which left them hanging forever - fixed.
624
625
62601/07/2008
627Changes for version 17.07:
628 - The DimTimer was sometimes not started when the constructor was called
629 with a time argument.
630 - Clients could not connect to more than 1024 servers - fixed.
631 (if the machine allows more than 1024 connections)
632
633
63430/06/2008
635Changes for version 17.06:
636 - Corrected the makefile for Darwin, now the number of accepted connections is
637 increased to 8192 only for Linux.
638 - Fixed a bug in the DimTimer, it used to accept to be re-started, but then crashed
639 at destruction time if not stopped the same number of times. Now it can not be
640 re-started.
641 - The Dns used to ask servers to re-register at regular intervals when they were not
642 sending their watchdog messages (i.e. they were in "ERROR", red in DID). Now the
643 DNS only asks once (unless they answer). This could cause the DNS to hang if
644 servers were in ERROR for a long time.
645 - The Dns now accepts a command line parameter: -d to print debug messages.
646 - The clients were not handling properly the case when they could contact the DNS
647 but then they could not contact the server that the DNS gave them (either because
648 of a firewall or because the server run on an inaccessible network). In this case
649 the clients would timeout trying to contact the server for each service and kept
650 asking the DNS the server coordinates over and over again. Now the clients keep
651 a list on unreacheable servers, so they don't try to contact the server for each
652 service and only ask the DNS again with an increasing interval that goes from 10
653 seconds to 2 minutes maximum.
654 - The server now issues an error message if the format string is too long.
655 - Linux DID
656 - Removed the command "Kill ALL Servers", it was too dangerous
657 - Now the list of nodes in "View Servers by Node" is in alphabetical order and
658 in lowercase.
659
660
66130/04/2008
662Changes for version 17.05:
663 - In Linux in some cases a SIGPIPE was generated. Normally the DIM library sets
664 the behaviour of SIGPIPE to ignored, but if another library or main program
665 changes the SIGPIPE behaviour, then the application could exit when the SIGPIPE
666 was generated. Fixed - on Linux now the function send with flag MSG_NOSIGNAL
667 is used in oder to avoid generating SIGPIPE.
668
669
670
6714/04/2008
672Changes for version 17.04:
673 - Sometimes processes (servers or clients) would hang when the DNS was restarted.
674 This was due to a strange (Windows?) feature, by which a connect could succeed
675 after a connection was closed (and reported) on the other side. Fixed.
676
677
678
67927/03/2008
680Changes for version 17.03:
681 - Can now make DID for 64 bits by making DIM using:
682 gmake X64=yes all
683 - Increased the size of the Hash tables for the servers and the DNS.
684
685
686
68720/02/2008
688Changes for version 17.02:
689 - Fixed the Java DimTimer - stop() didn't work
690 Required changing dim_jni.c as well as the java part
691 - Fixed DIM for Darwin - had stopped working
692
693
694
69520/01/2008
696Changes for version 17.01:
697 - The Java API now works on 64 bit machines, Thanks to Joern Adamczewski.
698 Please use:
699 gmake JDIM=yes all
700 - Linux executables are now compiled/linked on slc4 (32 bits).
701 - Big changes in the DimRpcs both client and server part. Tere were bugs
702 related to the handling of timeouts.
703 Unfortunatelly all applications using RPCs need to be re-linked.
704
705
706
707-----------------------------------------------------------------------------------------
708Previous version history:
709
71007/12/2007
711Changes for version 16.14:
712 - Now by default All DIM processes are ready to accept up to 8192 connections, both
713 in Linux and Windows. Although in Linux for this to be effective the machine system
714 limits must allow more than 1024 descriptors/open files per process.
715 - Fixed a little memory leak in tokenstring.cxx
716 - And a little compilation bug for some platforms in tcpip.c
717
718
71915/05/2007
720Changes for version 16.13:
721 - If DIM_HOST_NODE is defined when starting up a server, a DIM client will now try
722 two network interfaces in order to talk to that server and only give up if they both
723 fail. First it will try the ip name or ip address specified by the server using
724 DIM_HOST_NODE, if that fails it will try the ip address of the default interface
725 retrieved by the server using gethostname (and gethostbyname).
726 The changes basically affect the case in which the DIM_HOST_NODE given to the servers
727 is specified as IP address instad of an IP name. Otherwise this mechanism was already
728 working.
729
730
7313/05/2007
732Changes for version 16.12:
733 - The Java version did not exit properly when main() terminated - fixed.
734
735
73625/04/2007
737Changes for version 16.11:
738 - On Linux the timeout to detect a lost connections (unplugged ethernet cable
739 or machine reboot) was too long, around 15 minutes - Fixed.
740 On Linux the KEEPALIVE feature is now used instead of a regular socket write,
741 all other platforms should work as before.
742
743
74421/02/2007
745Changes for version 16.10:
746 - Found a bug in dis_stop_serving: one socket connection was not closed - fixed.
747 - Implemented a new environment variable for the DNS: DIM_DNS_ACCEPTED_NODES
748 Can receive a list on nodes or domains separated by commas.
749 If the DNS receives a connection from a node not in this list, it will
750 reject it and kill the server or client requesting it.
751 - Fixed some C++ warnings.
752
753
75419/01/2007
755Changes for version 16.9:
756 - The modifications done in version 16.8 have introduced a bug:
757 - DIM servers would not behave properly (exit) when receiving a kill command
758 from the DNS (for duplicated services, not allowed host names or manual "kill")
759 This is now fixed.
760
761
76230/10/2006
763Changes for version 16.8:
764 - Modified dis_stop_serving() and DimServer::stop() to completely stop DIM:
765 - Stop also the DIM threads.
766 - Release all allocated memory
767 - Allow a different port number when re-starting.
768
769
77011/07/2006
771Changes for version 16.7:
772 - Prepared for increasing the number of open connections per process
773 (On Linux still requires changing some parameters and recompiling the Dns)
774 - Fixed one error and several warnings for gcc 4.
775
776
77711/05/2006
778Changes for version 16.6:
779 - Sometimes a server or client would crash while exiting if the DNS was not running.
780 Fixed.
781 - Fixed the reporting of some ERROR messages on Windows (used to report error "0")
782 - Allowed dim_send_command to receive instead of -dns <node_name>
783 -dns <node_name>[:<port_number>]
784
785
78601/05/2006
787Changes for version 16.5:
788 - Big Spring Cleanup. Removed most warnings. Can now be compiled on
789 Windows with Warning Level 3 and on Linux with -Wall
790 (still not working for -ansi -pedantic...)
791 - When trying to access a server in a different network (i.e. not reacheable)
792 a client (for example DID) would take very very long to timeout - fixed.
793 - Added two new sets of functions that allow setting the DIM_DNS_NODE separately
794 for a server and a client in the same process:
795 - int dis_set_dns_node(char *node)
796 - int dis_get_dns_node(char *node)
797 - int dis_set_dns_port(int port)
798 - int dis_get_dns_port()
799
800 - int dic_set_dns_node(char *node)
801 - int dic_get_dns_node(char *node)
802 - int dic_set_dns_port(int port)
803 - int dic_get_dns_port()
804 These routines should be used instead of the equivalent ones starting with "dim_"
805 since these set the same DIM_DNS_NODE/port for both Server and client parts of a
806 process.
807 - Adapted the C++ equivalents (DimClient::setDnsNode, etc. and DimServer::setDnsNode,
808 etc.) to use the new routines, so they are now independent.
809 Adapted also the Java equivalents.
810 - Fixed DimBridge to use the new routines.
811 - Fixed a bug in DID that made it crash sometimes at startup (and also when the DNS
812 restarted)!
813 - Found some very interesting features of DIM:
814 - In a node with two ethernet interfaces (so connected to two networks):
815 - The DNS will answer to servers and client on both networks, only its server
816 part - DIS_DNS (the one that answers to DID and DimBrowser requests) would
817 in principle answer only to one of the networks (in principle the default
818 interface* but can be changed by setting the environment variable "DIM_HOST_NODE").
819 - But, in fact, if the DNS or any server is started with the environment variable
820 DIM_HOST_NODE set to the interface that is not the default* one. Than both the
821 DNS (including the server part) and the DIM servers will be accessible from both
822 networks. For example DID will work fine on both networks.
823 * The command "hostname" will return the name of the default network interface.
824
825 Note: As a result of inserting new functions the DIM shared library entry points have
826 changed, so all DIM Servers/Clients should be relinked (in particular in Linux).
827
828
82920/04/2006
830Changes for version 16.4:
831 - Optimized the DNS for providing the list or running servers dynamically
832 by subscribing to the service "DIS_DNS/SERVER_LIST"
833
834
83507/04/2006
836Changes for version 16.3:
837 - Upgraded to work on LynxOS Version 4.
838 - Updated makefile for INTEL platform
839 - Updated some ifdefs based on the existence of __Lynx__
840
841
84210/03/2006
843Changes for version 16.2:
844 - Increased the listen queue. To avoid "Connection Refused" messages from servers
845 or from the DNS.
846
847
84828/02/2006
849Changes for version 16.1:
850 - Fixed the NO_THREADS option for LINUX, it had stopped working.
851 - DimInfo::getData() could return an invalid pointer if called before connecting
852 to the server (or discovering the server did not exist). Fixed
853 (it now returns 0 in this case).
854
855
85609/11/2005
857Changes for version 16.0:
858 - Consolidated the new timer handling mechanism, should be much more precise.
859 - Fixed the RPC handling. Used to be based on timming assumptions.
860 Now uses a safe protocol to make sure the server is connected before sending
861 an RPC request.
862 - Included in the distribution some performance measurements and a benchmark
863 server and client. Sources in src/benchmark executables in /bin for windows
864 and /linux for linux.
865 Usage:
866 benchServer <message_size_in_bytes> <number_of_services>
867 benchClient
868 benchClient will run for a while and print the measurement results.
869
870Please check the Manual for more information at:
871 http://www.cern.ch/dim
Note: See TracBrowser for help on using the repository browser.