Commit Graph

14 Commits

Author SHA1 Message Date
Gleb Natapov
ab6703f9bc Remove old query::result serializer 2016-01-24 12:45:41 +02:00
Tomasz Grabiec
dd51ff0410 query: Make query::result movable 2015-12-16 18:06:54 +01:00
Tomasz Grabiec
d64db98943 query: Convert serialization of query::result to use db::serializer<>
That's what we're trying to standardize on.

This patch also fixes an issue with current query::result::serialize()
not being const-qualified, because it modifies the
buffer. messaging_service did a const cast to work this around, which
is not safe.
2015-12-03 09:19:11 +01:00
Avi Kivity
d5cf0fb2b1 Add license notices 2015-09-20 10:43:39 +03:00
Gleb Natapov
ab5f52fde3 storage_proxy: lazily calculate digest from data results during query
Do not calculate digest from data on arrival, do it during digest
matching check, also skip it entirely if there is only one digest
to match.
2015-09-16 17:40:22 +03:00
Tomasz Grabiec
d9e6f0d1da query: Introduce query::result::pretty_print() 2015-07-28 11:31:08 +02:00
Tomasz Grabiec
a03fc3549b query-result: Add missing include 2015-07-09 18:53:03 +02:00
Tomasz Grabiec
f46b7a815e query: Fix typos in comments 2015-07-02 13:25:46 +02:00
Gleb Natapov
4b9661c608 initial read clustering code
Works only if all replicas (participating in CL) has the same live
data. Does not detects mismatch in tombstones (no infrastructure yet).
Does not report timeout yet.
2015-07-01 13:36:30 +03:00
Gleb Natapov
730170ff1a serialize data structures needed for read clustering 2015-07-01 13:36:28 +03:00
Gleb Natapov
3d3d3a8627 implment query::result::digest() 2015-07-01 13:35:57 +03:00
Tomasz Grabiec
5ba1486ae7 db: Rename "ttl" to "expiry" when it's used as time point
To avoid confusion with "ttl" the duration.
2015-05-06 17:27:22 +02:00
Tomasz Grabiec
8d6b93d787 query: Document intention behind query results format 2015-04-19 10:07:02 +03:00
Tomasz Grabiec
00f99cefd4 db: split query.hh to reduce header dependencies 2015-04-15 20:44:59 +02:00