-
Notifications
You must be signed in to change notification settings - Fork 12
Pause
irieksts edited this page Feb 10, 2012
·
2 revisions
Trigger puase
pause:
curl -X PUT http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/PAUSED -d "enabled" && echo
unpause:
curl -X PUT http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/PAUSED -d "disabled" && echo
Paused vs disabled:
- Paused will continue to build up a "queue" of transactions to process, but will not execute any triggers for that column family.
- Disable will ignore that trigger, execute other triggers and remove transactions from the "queue".
enable/disable
curl -X PATCH http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/ -d "{\"com.foo.Trigger\":\"disabled\"}" && echo
OR
curl -X PUT http://localhost:8080/virgil/data/triggers/Triggers/<keyspace>\:<column family>/com.foo.Trigger -d "disabled" && echo