1
0
Fork 0

8 Commits (master)

Author SHA1 Message Date
Philip O'Toole 5c5b226303 Working 9 months ago
Philip O'Toole 0071867e34 Don't call t.Fatal() from goroutine
It wouldn't abort the test anyway, so just log.
2 years ago
Philip O'Toole ca7e6e98ff Stop using deprecated protobuf package 3 years ago
Philip O'Toole 3b86b9c598 100 test loops is sufficient
Otherwise testing takes too long on CI.
3 years ago
Philip O'Toole 97e97bb802 Reduce number of concurrent tests 3 years ago
Philip O'Toole ebe86e9f0f Remove superfluous blank line 3 years ago
Philip O'Toole d02695126c Ensure concurrent compression is OK
Don't let https://github.com/rqlite/rqlite/issues/781 happen again.
3 years ago
Philip O'Toole 6575de779d
Use Protobuf for encoding Raft Log commands
This PR changes Raft Log Entry encoding from JSON to Protobuf. Furthermore, larger Raft commands (which can result from batching SQL statements, or individually long SQL statements) are compressed before encoding.

This primary reason for this change is to reduce IO load since that is one of the largest performance bottlenecks. It will also reduce internode traffic.

Legacy JSON-encoded commands are still handled by this code, so this change is backwards-compatible with previous releases in the v5 series.
4 years ago