logv / sybil

columnar storage + NoSQL OLAP engine | https://logv.org
https://logv.org
Other
305 stars 24 forks source link

[grpc] make more sybil commands friendly to repeated execution #38

Open okayzed opened 6 years ago

okayzed commented 6 years ago

currently, the sybil binary is designed to run once and then exit - we need to audit and fix the individual areas so we can ingest, digest and query multiple times in the same sybil process.

this means that sybil funcs shouldn't have nasty side effects that modify global state.

tmc commented 6 years ago

40 paves the way for parallelism in tests which will allow the race detector to surface issues that relate to this.

okayzed commented 6 years ago

at first, i was wondering how -race will help with global state, but now i realize that the test runner will be running simultaneous query, ingest and digest tests which will all be touching global state