Conversation
Codecov Report
@@ Coverage Diff @@
## master #357 +/- ##
=========================================
+ Coverage 76.41% 78.3% +1.88%
=========================================
Files 71 71
Lines 4686 5204 +518
=========================================
+ Hits 3581 4075 +494
- Misses 835 853 +18
- Partials 270 276 +6
Continue to review full report at Codecov.
|
Good job! Sorry for the nitpicking... Reviewed 8 of 8 files at r1. elasticsearchstore/api.go, line 37 at r1 (raw file):
nit: only 1 dot elasticsearchstore/api.go, line 43 at r1 (raw file):
nit: we're trying to end comments with a dot. elasticsearchstore/api.go, line 61 at r1 (raw file):
nit: errors should be in lower case. elasticsearchstore/elasticsearchstore.go, line 68 at r1 (raw file):
https://golang.org/pkg/context/ elasticsearchstore/elasticsearchstore.go, line 205 at r1 (raw file):
I'm not sure this was really needed but I guess it can be useful at some point. It doesn't seem to bloat the code too much. elasticsearchstore/elasticsearchstore_test.go, line 77 at r1 (raw file):
nit: we could probably factorize this code at some point. Comments from Reviewable |
Review status: 7 of 8 files reviewed at latest revision, 7 unresolved discussions, some commit checks failed. elasticsearchstore/elasticsearchstore_test.go, line 95 at r2 (raw file):
do we really want to consider this test as integration? Comments from Reviewable |
Reviewed 1 of 1 files at r2. Comments from Reviewable |
Review status: all files reviewed at latest revision, 7 unresolved discussions, some commit checks failed. elasticsearchstore/api.go, line 37 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
ok elasticsearchstore/api.go, line 43 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
gotcha elasticsearchstore/api.go, line 61 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
gotcha elasticsearchstore/elasticsearchstore.go, line 68 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
I see, I'll change that elasticsearchstore/elasticsearchstore.go, line 205 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
You mean that ESStore does not need to be a KeyValueStore? When do we use KVStore? Tests would fail if not implemented I suppose? elasticsearchstore/elasticsearchstore_test.go, line 77 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
agreed elasticsearchstore/elasticsearchstore_test.go, line 95 at r2 (raw file): Previously, such (Adrien Montfort) wrote…
I had all sorts of problems on travis and semaphore CI: the travis error means that it takes too long to even start elasticsearch container.. Comments from Reviewable |
elasticsearchstore/api.go, line 265 at r2 (raw file):
Shouldn't we directly paginate the call to ES ? Comments from Reviewable |
Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed. elasticsearchstore/elasticsearchstore.go, line 205 at r1 (raw file): Previously, jeremie-stratumn (Jeremie Dayan) wrote…
No you're right. Right now I don't think there's a way to test only the LinkStore. But the KVStore is only used in tmpop and we have a generic implementation. elasticsearchstore/elasticsearchstore_test.go, line 95 at r2 (raw file): Previously, jeremie-stratumn (Jeremie Dayan) wrote…
:'( Comments from Reviewable |
Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed. elasticsearchstore/api.go, line 265 at r2 (raw file): Previously, bejito (Mourad BEJI) wrote…
I dont know that this is possible... Comments from Reviewable |
elasticsearchstore/api.go, line 265 at r2 (raw file): Previously, jeremie-stratumn (Jeremie Dayan) wrote…
indeed... Comments from Reviewable |
Great! Reviewed 7 of 8 files at r1, 1 of 1 files at r2. elasticsearchstore/api.go, line 291 at r2 (raw file):
nit: it's more usual to test elasticsearchstore/api.go, line 302 at r2 (raw file):
Idem for checking emptiness elasticsearchstore/elasticsearchstore.go, line 141 at r2 (raw file):
eventChans is not concurrent protected. It is the case for all stores... Comments from Reviewable |
Review status: 4 of 8 files reviewed at latest revision, 10 unresolved discussions, some commit checks failed. elasticsearchstore/api.go, line 291 at r2 (raw file): Previously, alexppxela (Alexandre Thibault) wrote…
done elasticsearchstore/api.go, line 302 at r2 (raw file): Previously, alexppxela (Alexandre Thibault) wrote…
done elasticsearchstore/elasticsearchstore.go, line 68 at r1 (raw file): Previously, jeremie-stratumn (Jeremie Dayan) wrote…
done elasticsearchstore/elasticsearchstore.go, line 205 at r1 (raw file): Previously, such (Adrien Montfort) wrote…
ok elasticsearchstore/elasticsearchstore.go, line 141 at r2 (raw file): Previously, alexppxela (Alexandre Thibault) wrote…
ok! Comments from Reviewable |
Reviewed 4 of 4 files at r3. Comments from Reviewable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Reviewed 4 of 4 files at r3. Comments from Reviewable |
inspired by couchstore impl
tests (store + tmpop) run in ~30sec
I am using this elastic client in go: https://github.com/olivere/elastic
fix #349
This change is