Stephen Atherton
|
6a04fa0ede
|
In simulation, deserializing a StatusReply now does a strict JSON parse.
|
2018-09-10 11:13:41 -07:00 |
Stephen Atherton
|
ce3f01a0cf
|
Added concept of type to JsonString. Appending single items or key/value pairs is now type-safe and only allowed in certain cases. JsonString will refuse to produce invalid JSON. All duplicative functions have been replaced with templates. Encoding of values uses json_spirit's value writer which should be no worse performance than format() and it will escape everything properly. Final string form is now built directly using knowledge of type, such as when an instance becomes an Array or Object the appropriate opening character is written. This avoids a full copy just to prepend the opening character later. Index interface for key/value pairs no longer makes a temporary copy of the key string. JsonString is now only needed by Status.actor.cpp. Still more work to be done here.
|
2018-09-08 07:15:28 -07:00 |
Evan Tschannen
|
d3c8d7ab4e
|
fix: status would generate invalid json
|
2018-09-07 18:26:05 -07:00 |
Alvin Moore
|
affd7423b4
|
Added class to write json as objects are added
Integrated JsonString class into status
|
2018-08-31 01:21:24 -07:00 |
Evan Tschannen
|
e770629229
|
fix: json_spirit::write_string is very CPU intensive, especially for large JSON documents. The cluster controller would call this function for each status reply it needed to send, resulting in a slow task.
|
2018-08-15 19:39:06 -07:00 |
Evan Tschannen
|
7a12d3e130
|
added the (untested) ability to force a recovery to the remote datacenter, even if that results in data loss. If the DR lag is more than 1 week there could be potential data corruption if any primary storage servers are still alive.
|
2018-07-01 09:39:04 -04:00 |
Alec Grieser
|
0bae9880f1
|
remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py
|
2018-02-21 10:25:11 -08:00 |
Yichi Chiang
|
d4f75630de
|
Support log group field in status json
|
2017-09-28 16:31:29 -07:00 |
FDB Dev Team
|
a674cb4ef4
|
Initial repository commit
|
2017-05-25 13:48:44 -07:00 |