I hade created a bucket 'users', which i then deleted through the
'recon' interface (well i deleted all the keys within that bucket),
but now every time i try to push a new key, i get this error:
{ [Error: HTTP error 500: Error:
{precommit_fail,{hook_crashed,{riak_search_kv_hook,precommit,error,badarg}}}
] statusCode: 500 }
here is the code:
origin = /\/(.*)\.gif/.exec(request.url);
if (origin) {
var ip =
request.connection.remoteAddress;
city = new City(__dirname +
"/GeoLiteCity.dat");
city.lookup(ip, function(err, location)
{
obj = {
city:
location.city
, latitude:
location.latitude
, longitude:
location.longitude
, ip: ip
, timestamp: time
}
self.bayeux.getClient().publish('/stat', obj);
// write to riak cluster
db.save('users',
'username', obj, { index: {timestamp: time} });
console.log('was saved
in the riak cluster');
if i change the bucket name 'users' to anything else this works, even
if i then delete all the records from that ne bucket, i can still add
records to that new named bucket. the only problem is with this
'users' bucket.
is there a way to check what is going on and clean up the database?
i have a single node on my local machine, running OSX.
thanks
norman
--
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com