-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorted key/value store (badger) backed storage plugin #760
Commits on Jan 28, 2019
-
Implementation of sorted key/value store backed storage plugin for Ja…
…eger. Implemented against badger for now. Implement Services() and Operations(service) using memory cached map which is filled from the K/V store on the startup. Also, move entry creation outside the Update() transaction to reduce blocking in the badger processing as well as implement correct TTL writing and reading. Fix ASC ordering of return set if only a single index seek was used Implement range index scanning for duration index, use common initialize and tear down for tests and benchmarks, implement a small write benchmark and do Span fetching in a single transaction. Duration only test Create configuration options and modify tests to use them. Rebased from master. Fixtures should use internal model and not domain model for comparison Fix badger storage to pass all the integration tests and enable integration tests for badger Add license headers Update dependencies Make lint happy Addressing review comments, replacing magic numbers with a sizeOf constant, using logger to indicate initialization is completed and io.Closer is used. Added maintenance thread that cleans up value log as well as exposes the size of data directories. Added some comments for multiple internal functions as well as refactored FindTraces to use more functions for easier reading. Default data directory (when ephmeral is not used) is now starting directory + data/keys and data/values. Fix domain_trace_compare to check for differences between data and not pointers Add support for protoBuf encoding/decoding and make it as a default instead of json encoding in the storage Fix merge error disk statistics are only built on a Linux platform, fixes darwin compilation issues Signed-off-by: Michael Burman <miburman@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d095edb - Browse repository at this point
Copy the full SHA d095edbView commit details -
Add stuff (and some tests also) to satisfy Codecov
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 82d163a - Browse repository at this point
Copy the full SHA 82d163aView commit details -
Add LastMaintenanceRun expvar for test purposes and remove error chec…
…ks from stats_linux.go for codecov satisfaction Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 181e044 - Browse repository at this point
Copy the full SHA 181e044View commit details -
Add more testing purposes timers
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 3aff0cf - Browse repository at this point
Copy the full SHA 3aff0cfView commit details -
Add dependency reader, address comments
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 7b9eecd - Browse repository at this point
Copy the full SHA 7b9eecdView commit details -
Replace expvar with metrics.Factory, rebase to new TraceReader API, r…
…emove unused code / comments, rename MaintenanceTimer, change visibility of the ticker, make Close() remove the temp files in most cases, update dependencies to Gopkg.toml Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 2e11181 - Browse repository at this point
Copy the full SHA 2e11181View commit details -
Revert changes to the fixtures, outdated
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 2b43039 - Browse repository at this point
Copy the full SHA 2b43039View commit details -
Satisfy gosimple by using Equal instead of Compare
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for d8471de - Browse repository at this point
Copy the full SHA d8471deView commit details -
Make factory_test check for io.Closer implementation
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for d463076 - Browse repository at this point
Copy the full SHA d463076View commit details -
Make metrics vars private to fix the liner
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro authored and Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for a8ecc16 - Browse repository at this point
Copy the full SHA a8ecc16View commit details -
Fix compile error in linux-only test
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro authored and Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for c7a86e6 - Browse repository at this point
Copy the full SHA c7a86e6View commit details -
Create artificial test to hopefully cheat Codecov
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 663c5a6 - Browse repository at this point
Copy the full SHA 663c5a6View commit details -
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for fe8e652 - Browse repository at this point
Copy the full SHA fe8e652View commit details -
Rebased and changed to metricstest
Signed-off-by: Michael Burman <miburman@redhat.com>
Michael Burman committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 2955789 - Browse repository at this point
Copy the full SHA 2955789View commit details
Commits on Feb 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b1dcada - Browse repository at this point
Copy the full SHA b1dcadaView commit details
Commits on Feb 10, 2019
-
Merge branch 'master' into local_storage
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro committedFeb 10, 2019 Configuration menu - View commit details
-
Copy full SHA for c1a76c3 - Browse repository at this point
Copy the full SHA c1a76c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47fdc93 - Browse repository at this point
Copy the full SHA 47fdc93View commit details -
Refactor tests int sub-packages
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro committedFeb 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 3d2fdde - Browse repository at this point
Copy the full SHA 3d2fddeView commit details
Commits on Feb 11, 2019
-
Merge branch 'master' into local_storage
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro committedFeb 11, 2019 Configuration menu - View commit details
-
Copy full SHA for c35d10e - Browse repository at this point
Copy the full SHA c35d10eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af4a5c - Browse repository at this point
Copy the full SHA 1af4a5cView commit details
Commits on Feb 12, 2019
-
Change cache interfaces and add new tests to reach higher coverage
Signed-off-by: Michael Burman <yak@iki.fi>
Configuration menu - View commit details
-
Copy full SHA for 24ec9c2 - Browse repository at this point
Copy the full SHA 24ec9c2View commit details -
Add more tests, including validation and encoding parsing tests
Signed-off-by: Michael Burman <yak@iki.fi>
Configuration menu - View commit details
-
Copy full SHA for 8d3408d - Browse repository at this point
Copy the full SHA 8d3408dView commit details -
Fix test refactoring to get factory coverage back to 100%
Signed-off-by: Michael Burman <yak@iki.fi>
Configuration menu - View commit details
-
Copy full SHA for 7b81610 - Browse repository at this point
Copy the full SHA 7b81610View commit details
Commits on Feb 13, 2019
-
Change dependencyreader to use spanstore
Signed-off-by: Michael Burman <yak@iki.fi>
Configuration menu - View commit details
-
Copy full SHA for 8606253 - Browse repository at this point
Copy the full SHA 8606253View commit details -
Configuration menu - View commit details
-
Copy full SHA for e575e4c - Browse repository at this point
Copy the full SHA e575e4cView commit details
Commits on Apr 2, 2019
-
Merge branch 'master' into local_storage
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro committedApr 2, 2019 Configuration menu - View commit details
-
Copy full SHA for bfb1b7d - Browse repository at this point
Copy the full SHA bfb1b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10705ba - Browse repository at this point
Copy the full SHA 10705baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bf30ad - Browse repository at this point
Copy the full SHA 8bf30adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10b4b57 - Browse repository at this point
Copy the full SHA 10b4b57View commit details
Commits on Apr 3, 2019
-
Merge branch 'master' into local_storage
Signed-off-by: Yuri Shkuro <ys@uber.com>
Yuri Shkuro committedApr 3, 2019 Configuration menu - View commit details
-
Copy full SHA for e053151 - Browse repository at this point
Copy the full SHA e053151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25d27cb - Browse repository at this point
Copy the full SHA 25d27cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e8522 - Browse repository at this point
Copy the full SHA 89e8522View commit details