I believe there is no DBObserver createCollection method because the
Database might not be informed when a new collection is created.  The
Collection::create method does not have any interaction with the Database.
Of course, it could, in the same way that Collection::drop interacts with
the Database.  This seems like a reasonable idea to me, so please formulate
a patch against the cvs version, and submit it to the list for review.

thanks
dave


-----Original Message-----
From: Igor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 6:59 AM
To: [EMAIL PROTECTED]
Subject: DBObserver issue


Hi All!

I need monitor Database activity via DBObserver. The create collection
call back is missing. DBObserver has method dropCollection, but no
method createCollection. How can I known that collection is created. If
is possible to add createCollection in DBObserver interface and one line
in ..core.Collection.

p.s. Now I do intensive code review on Xindice code. how to report or
discus issues or bugs(we don't writes bugs , just features:-)

Best Regards

Igor  

Reply via email to