I have been looking through the sandbox and haven't found an example
of this.
I'm trying to figure out how to remove something from an output
interface, i.e. to 'retrieve it' so it isn't there anymore in the
bloom object, from a testing environment. Basically I am dealing with
two-phase commit, and when I run a test of one transaction it works
fine, but when I try to do another transaction, the output interface
(commit_response) thereafter continues to have the result from the
first test. That is, it isn't being removed. How do I remove that row?
I'm using sync_callback to do the test. Basically :
resps = coord.sync_callback(coord.commit_request.tabname, [[reqid]],
coord.commit_response.tabname)
(Not sure what tabname is -- could someone please clarify? I was
following the sandbox's model and it seemed to work)
So , according to what Peter said in class, that would put a row whose
contents are [reqid] onto the input interface "commit_request," and
put into "resps" the resulting rows on the output interface
"commit_response."
But, if I change reqid to a higher number later and run that line
again, commit_response still has the row from the output of the first
request.
Any thoughts on this matter would be much appreciated.
Happy Thanksgiving!
Thanks,
Oren
Sent from a telephone.
Thanks,
Oren
On Nov 24, 2:48 pm, Oski Bear <programthecl...@gmail.com> wrote:
> Gotta run but... Interfaces are scratches. Does that help?
>
> Sent from a telephone.
>