Hi Dan,

Ok thanks - I'll just the REST API until the PBC API is updated.

Cheers,
Ryan

On 10 Feb 2011, at 11:00 PM, Dan Reverri wrote:

> Hi Ryan,
> 
> You are correct, the PBC API is currently only able to set n_val and 
> allow_mult. The REST API has support for all bucket properties.
> 
> Feature request 370 has been opened to address the PBC API limitation:
> https://issues.basho.com/show_bug.cgi?id=370
> 
> Thanks,
> Dan
> 
> Daniel Reverri
> Developer Advocate
> Basho Technologies, Inc.
> [email protected]
> 
> 
> On Thu, Feb 10, 2011 at 12:41 PM, Ryan Maclear <[email protected]> wrote:
> Hi All,
> 
> I want to set the postcommit hook on a bucket. I can set the bucket 
> properties using riak_client, but this means that I need to be connected to 
> the cluster to do this.
> 
> I want to be able to dynamically set post-commit hooks on buckets at run-time 
> from my client using the Erlang PBC API. Working through the Erlang PBC code, 
> the set_bucket function in riakc_pb_socket calls 
> riakc_pb:pbify_rpbbucketprops/2. This function ignores all properties except 
> n_val and allow_mult, so it appears that I cannot set the postcommit hook 
> using this set_bucket function.
> 
> Is there any other way to do this that I've missed, or do I need to be 
> connected to the cluster?
> 
> Thanks,
> Ryan
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to