Pekka Enberg
bcb6c1b9c3
service: Convert MigrationManager to C++
...
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2015-03-12 10:29:51 +02:00
Pekka Enberg
5bdf0e4429
service: Import MigrationManager.java
...
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2015-03-12 10:29:51 +02:00
Tomasz Grabiec
2f6d9a4113
db: Introduce query interface
2015-03-11 16:01:13 +01:00
Tomasz Grabiec
03c70bb71f
service: Stub paging_state::serialize()
2015-03-11 16:01:13 +01:00
Tomasz Grabiec
609e893055
unimplemented: Separate subject from behavior
...
You can now do:
fail(unimplemented::cause::PAGING);
and:
warn(unimplemented::cause::PAGING);
2015-02-27 10:48:56 +01:00
Avi Kivity
2720ba34bf
db: shard data
...
Add database::shard_of() to compute the shard hosting the partition
(with a simplistic algorithm, but perhaps not too bad).
Convert non-metadata invoke_on_all() and local calls on the database
to use shard_of().
2015-02-23 11:37:12 +02:00
Avi Kivity
70381a6da5
db: distribute database object
...
s/database/distributed<database>/ everywhere.
Use simple distribution rules: writes are broadcast, reads are local.
This causes tremendous data duplication, but will change soon.
2015-02-19 17:53:13 +02:00
Avi Kivity
8f9f794a73
db: make column_family::apply(mutation) not steal the contents
...
With replication, we want the contents of the mutation to be available
to multiple replicas.
(In this context, we will replicate the mutation to all shards in the same
node, as a temporary step in sharding a node; but the issue also occurs
when replicating to other nodes).
2015-02-19 16:23:09 +02:00
Tomasz Grabiec
f943555571
service: Convert client_state constructors
2015-02-16 12:15:08 +01:00
Tomasz Grabiec
b3544238d1
service: Implement query_state:: get_client_state() and get_timestamp()
...
Needed by query_options and query_processor.
2015-02-12 19:40:58 +01:00
Tomasz Grabiec
0b39d284b8
service: Return keyspace name by const&
...
It should be up to the caller if copy is needed.
2015-02-12 19:40:57 +01:00
Tomasz Grabiec
43e693e72d
service: Implement client_state::get_timeout()
2015-02-12 19:40:57 +01:00
Tomasz Grabiec
7c7c23b5b6
service: Stub PagingState
2015-02-12 19:40:57 +01:00
Tomasz Grabiec
b7e3c46a42
service: Import PagingState.java
2015-02-12 19:40:57 +01:00
Tomasz Grabiec
1b66f33455
db: Apply mutations locally from storage_proxy
...
Eventually we should rather send them to replicas, but for now we just
apply locally.
2015-02-09 10:28:44 +01:00
Tomasz Grabiec
9530a372cc
cql3: Take reference to storage_proxy and call instance methods
2015-02-09 10:28:44 +01:00
Tomasz Grabiec
d5a7f37c45
db: Merge api.hh into database.hh
2015-02-09 10:28:44 +01:00
Tomasz Grabiec
800ba79efa
db: Drop api:: namespace from mutation model classes
...
In preparation for merging into database.hh
2015-02-09 10:28:44 +01:00
Tomasz Grabiec
58677dc911
service: Convert StorageProxy
2015-01-29 19:40:58 +01:00
Tomasz Grabiec
09a893aed4
service: Import StorageProxy.java
2015-01-29 19:40:07 +01:00
Tomasz Grabiec
ea3f83754f
service: convert ClientState
2015-01-29 19:40:07 +01:00
Tomasz Grabiec
2294c6b1e0
service: Import ClientState.java
2015-01-29 19:40:07 +01:00
Pekka Enberg
de4f0f8455
cql3: convert CFStatement to C++
...
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2014-12-30 15:53:59 +02:00
Pekka Enberg
cff499989d
cql3: convert UseStatement to C++
...
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2014-12-30 15:53:58 +02:00
Pekka Enberg
bf3112f331
cql3: convert CQLStatement to C++
...
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2014-12-30 10:03:44 +02:00