[Date Prev][Date Next] [Chronological] [Thread] [Top]

Non-unique msgid for abandon in back-<shell,tcl> (ITS#1793)



Full_Name: Hallvard B Furuseth
Version: HEAD (2002-05-03)
OS: 
URL: 
Submission from: (NULL) (129.240.186.42)


Back-shell and back-tcl give message IDs to the scripts, which abandon
use to cancel the operations.  But a message ID is not a unique ID for
a slapd operation; they need connection id + message id for that.

The best fix I can think of is:
Tcl -   replace the message IDs (3rd argument to the TCL procs) with
        "connection id/message id"
Shell - Give an additional input line to the commands
		opid: <connection id>/<message id>
	and a new input line to the abandon command:
		abandonid: <connection id>/<message id to abandon>
	Some time later, phase out today's "msgid:" line.

See also ITS#1792 (back-shell abandon is inconsistent)
     and ITS#1784 (back-tcl abandon needs abandoned msgid as argument).