source: branches/testFACT++branch/dim/README_v20.txt@ 19882

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