By default, when you add a watch it is immediately set to the active state, registered with the appropriate trigger engine, and executed according to its configured trigger.
You can also set a watch to the inactive state- which is what you did in ur case I guess. Inactive watches are not registered with a trigger engine and can never be triggered.
I think we should allow executing inactive watches, as this is a request manually triggered. I will take a closer look, what is the complexity behind this - but should not be too hard.
Yes. I would also agree with Alex as executing a inactive watch explicitly should not require active status. Having active status to a watch would trigger it by schedule, and there could be reasons why a watch is made inactive temporarily and triggered explicitly.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.