Commit Graph

7 Commits

Author SHA1 Message Date
Avi Kivity
5902243dc5 Merge branch 'master' of github.com:cloudius-systems/seastar into db
Global adjustment due to the removal of future<>::rescue().
2015-03-05 11:00:11 +02:00
Avi Kivity
1bf214b7df thrift: stop reading on short buffer
Fixes buffer overrun.  Should perhaps be part of read_exactly().
2015-03-01 17:14:25 +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
d5540bf3da Merge branch 'master' into db 2015-01-27 15:09:31 +02:00
Avi Kivity
2af5cee699 thrift: drop use of scattered_message
The code attempts to use scattered_message::append_static() to gain zero
copy, claiming that _output protects the data's lifetime, but that's a
false claim - it will remain in the transmit queue waiting for an ACK
while we process (and respond to) the next request.

Fix by just writing the output naturally.  We may zero-copy support later,
though it is dubious it will help thrift, as the code is full of copies
and atomics.
2014-12-28 13:42:25 +02:00
Avi Kivity
a49fd99327 thrift: create a database and pass it to the server
Not sharded yet.
2014-12-23 18:41:29 +02:00
Avi Kivity
094329a95e Move apps/seastar/* to top level 2014-12-22 16:15:37 +02:00