[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query termination clariffication



Arie Shoshani wrote:
> "Done" issued by the QO means, on the other hand, that the QO does
> not need to communicate with the QE any further.  It may or may not
> have EIs still active.  In this case, the QE can clear the query from
> the cache, but does NOT notify the QM. Thus the QM continues to
> cache files for all EIs associated with this queries till they got
> the last file.
> 

One more thing on this part:
Then, when does QM clear the query from the cache?
Currently, the only way to gracely "finish" the query for QM is
getting a "done" or "abort" from QE. 
QE doesn't keep track of EIs that are still active, so it doesn't
know if the query is actually finished. 
QM can send a message to QE when the query is finished, but
then QE needs to distinguish the "done" from QO and from QM.
If QE cleared the cache for that particular query already, and 
the query is done, QE needs to inform QM for its "done" or
"deletion"....


-- 
Alex Sim                        
MS 50B-3238                            ASim@lbl.gov
1 Cyclotron Road             office: (510) 495-2290
Berkeley, CA 94720              FAX: (510) 486-4004