Questions tagged [riak-kv]

8 questions
2
votes
2 answers

Riak KV: how to reinitialize data directories

Is it possible to "recreate"/"reinitialize" all data directories for database riak? I don't need to keep data - just to start from 0. If yes, how to do it?
den123
  • 793
  • 1
  • 12
  • 27
1
vote
1 answer

Riak-KV: how to create bucket in docker-compose file?

I try to use the original riak-kv image in docker-compose and I want on init add one bucket but docker-compose up won't start. How I can edit volumes.schemas to add bucket on init? Original image allows to add riak.conf file in docker-compose ? If…
bober
  • 11
  • 2
0
votes
1 answer

Riak - partitions waiting to handoff

I'm running a cluster with 24 nodes with 1024 partitions riak_kv_version : <<"2.1.7-226">> I have 142 partitions waiting to handoff for more than 10 days. There's no ongoing transfer in the cluster. Under this node riak@0037-internal.xx.com, I can…
0
votes
1 answer

Riak can't find object by key in first time

We have cluster of 5 Riak nodes. We use riak-java-client for work with Riak, usually for create, read, delete data. Unfortunately we have a problem with read old objects from riak. Sometime when we read object by key we getting null. When we trying…
Sprinter
  • 717
  • 5
  • 11
0
votes
1 answer

Riak kv SearchOperation NoNodesAvailableException

I am getting nonodesavailableexception with this code: String query = "{\"phone\":\"111\"}"; User user = new User("222",null,null); SearchOperation searchOp = new…
Manish
  • 5
  • 3
0
votes
1 answer

Difference between node_gets and vnode_gets in Riak

Can anyone please tell me the difference the following metrics in Riak: 1. node_gets vs vnode_gets 2. node_puts vs vnode_puts As per the documentation, node_gets is the number of gets co-ordinated by a node in the Riak cluster in the last 60…
user1184527
  • 113
  • 1
  • 12
0
votes
1 answer

Riak search on CRDT data types - memory backend

I am using riak2.2.3, and trying to search in a map bucket type, but nothing is ever returned. I've configured a bucket type "dist_cache" on the memory backend: # riak-admin bucket-type status dist_cache dist_cache is active active:…
Tangui
  • 3,626
  • 2
  • 26
  • 28
-1
votes
1 answer

Migrate Data from one Riak cluster to another

I have a situation where we need to migrate data from one Riak cluster to another and then remove the old cluster. The ring size will be same, even the region will be the same. We need to do this to upgrade the instances to AL2. Is there a clean…