Commit Graph
10 Commits
Author SHA1 Message Date
John Colvin 06c833e96c fix: Use correct prefix in md cleanup
Bugs (fixed):
  * Assert crash in MDSource.h "Marketdata heartbeats are bad..."

  Cause: The MD cleanup procedure, which is supposed to delete md files
  from shared memory (from previous runs), wasn't deleting anything.
  The file globbing pattern it was using (to determine which files to
  delete) never produced any matches because it had the wrong prefix. As
  a result, market data would often be loaded with a stale heartbeat
  timestamp from a previous run.

  Note: This occurred as a side effect of making the shared memory prefix
  configurable when we ported the api server over to Linux (so the api
  server and sparkd could run on the same container/machine whilst
  maintaining independent shared memory files).
2023-04-03 10:28:51 -04:00
John Colvin 7e5c1218a3 build: Make app-data, shared mem paths configurable via CMake
This allows sparkd and the api server to run simultaneously in the same
docker, w/ independent data (on disk)
2023-03-20 13:26:43 -04:00
John Colvin 884a79e13a refactor: Clean up protobuf files
* Rename files to snake_case (per Google style guide)
  https://developers.google.com/protocol-buffers/docs/style
* Prohibit single line functions in clang-format for proto files
* Run clang-format
2022-02-14 14:01:52 -05:00
Pedro Pinto de063e51f0 Another clang-format run, changed how parameters are binned 2020-12-30 17:30:10 -05:00
Pedro Pinto 8f21a77150 Ran clang-format across all files 2020-12-30 17:11:18 -05:00
Eric Harding 00d91353a4 SPARK-1710 add read_direct/read_implied/read_merged accessors for market data 2018-09-11 17:27:15 -04:00
Eric Harding d6a310c5b5 Synthetics have depth 2018-02-23 14:06:54 -05:00
Eric Harding 796bd30972 Clean up md2 namespace 2017-12-21 16:33:28 -05:00
Eric Harding 5fc7d3ff78 Remove OldSecurity 2017-09-21 16:51:48 -04:00
Pedro Pinto 04af9c74e9 Moved md to sparklib. Regretfully. 2017-08-24 17:15:41 +00:00