Re: commit hooks and parameters

2011-04-26 Thread Sean Cribbs
Jon, If you're using a precommit, it could easily strip those extra metadata headers from the object, since it is allowed to modify the object. Kresten has written some code in riak_link_index that captures extra information in a precommit and then acts on them in a postcommit. As long as you

commit hooks and parameters

2011-04-26 Thread Jon Brisbin
Do commit hooks (pre/post/whatever) have any access to parameters of any kind (other than document metadata headers)? Can I get the webmachine parameters for a given request, for instance? I'm wanting to find a way to alter behaviour of the hook for each request. The only way I can see to do th