Hi, > > > When I recently upgraded to 2.0 I found out the hard way that the > > > RunClientAfterJob directive semantics changed quite a bit with the new > > > version: while in 1.38 the script was run after all activities > > > requiring a connection with the client were over (including data and > > > attribute despooling), in 2.0 the script is run as soon as data > > > spooling is complete. I did not find any mention of this fact in the > > > release notes, but from a couple of posts on the devel list I got the > > > impression that this was a deliberate design decision made in order to > > > allow restarting applications on the client as soon as possible. > > > > Yes, exactly. > > Eric, I was not aware of this change. Can you explain why it was done?
we discussed that (not on bacula-devel) on 11/07/2006, and we had thought that it was good a idea. I had never thought of using this kind of thing with this option (it's a good idea to save money) At that time, the update of the catalogue could take several hours, and so applications have to wait for nothing. > I see no reason to modify the behavior of an existing directive when you > have provided a new mechanism that permits (or should permit) the user to > choose exactly when the RunScript is executed. I will look how to do this. I think i could have some new options like RunScript { RunsSoon = yes|no # yes by default and set to no on ClientRunAfterJob } But with the new quick release fd feature, i don't know if it's very useful. Or i can add this in the 1.3X/2.X compatibility layer. ie if you are using old protocol, your command will be run at the end of job. > If we make things like RunClientAfterJob incompatible, it will break a lot > of programs. It seems that this is not something to be documented, but > rather a bug to be fixed. ok Bye ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users