Re: Merging keyspaces

2014-06-27 Thread Pavel Kogan
Thanks Robert. On Fri, Jun 27, 2014 at 2:21 PM, Robert Coli wrote: > On Fri, Jun 27, 2014 at 10:57 AM, Pavel Kogan > wrote: > >> So basically when I rename all files during merge of keyspaces, I will >> substitute dest keyspace, column family is the same cause it is same >> scheme, and I will

Re: Merging keyspaces

2014-06-27 Thread Robert Coli
On Fri, Jun 27, 2014 at 10:57 AM, Pavel Kogan wrote: > So basically when I rename all files during merge of keyspaces, I will > substitute dest keyspace, column family is the same cause it is same > scheme, and I will chose arbitrary number just to avoid collision, correct? > What is the range? I

Re: Merging keyspaces

2014-06-27 Thread Pavel Kogan
Thanks Robert. When I look at column families files it seems like the format is: [keyspace]-[cf]-jb-[number]-CompressionInfo.db [keyspace]-[cf]-jb-[number]-Data.db [keyspace]-[cf]-jb-[number]-Filter.db [keyspace]-[cf]-jb-[number]-Index.db [keyspace]-[cf]-jb-[number]-Statistics.db [keyspace]-[cf]-

Re: Merging keyspaces

2014-06-27 Thread Robert Coli
On Fri, Jun 27, 2014 at 8:28 AM, Pavel Kogan wrote: > I want to merge one keyspace (A) data into another (B) with exactly same > scheme. The partition keys of all records are unique in both keyspaces. Can > I just copy all files under keyspace A column families into keyspace B > column families f

Merging keyspaces

2014-06-27 Thread Pavel Kogan
Hi all, I want to merge one keyspace (A) data into another (B) with exactly same scheme. The partition keys of all records are unique in both keyspaces. Can I just copy all files under keyspace A column families into keyspace B column families folders, after running nodetool flush? Is filenames co