Skip to content

Simplified goFor implementation.#1

Merged
GiedriusS merged 1 commit intoGiedriusS:getForfrom
thanos-io:getFor
May 27, 2019
Merged

Simplified goFor implementation.#1
GiedriusS merged 1 commit intoGiedriusS:getForfrom
thanos-io:getFor

Conversation

@bwplotka
Copy link
Copy Markdown

Signed-off-by: Bartek Plotka bwplotka@gmail.com

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
@bwplotka
Copy link
Copy Markdown
Author

You awesome tests passes (: @GiedriusS

Copy link
Copy Markdown
Owner

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is smart, how have I not thought of this? 👍 awesome

@GiedriusS GiedriusS merged commit 3602678 into GiedriusS:getFor May 27, 2019
@bwplotka
Copy link
Copy Markdown
Author

bwplotka commented May 27, 2019

I think you were focused on fixing just this last piece. Always try to think in bigger picture, sometimes going back and rethinking bigger piece is easier then workaround details (:

@bwplotka bwplotka deleted the getFor branch May 27, 2019 15:15
GiedriusS added a commit that referenced this pull request Jun 13, 2022
* removed gogo-proto extensions from rpc.proto

Signed-off-by: rahulii <r.sawra@gmail.com>

* store: convert to a slice of pointers

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* removed gogoproto specific extensions and generated code

* removed Zlabel custom type and ran make proto

Signed-off-by: rahulii <r.sawra@gmail.com>

* labelpb: update functions to not use ZLabels

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* store: convert chunks to pointers

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* *: convert to use *labelpb.Label

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* resolve errors

* make use of custom json tag

* more changes and resolve errors

* store: convert more places to use pointers

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* replaced gogo-json-tag with protoc-go-inject-tag

* scripts/genproto: add hack for protobuf types

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* convert time.Time to protobuf.Timestamp

* migrate time.Time to protobuf.Timestamp

* resolving tests error

* resolve tests errors

* implement custom MarshalJSON

* partial fix to tests

* fix to tests

* fix to tests

* fix to more tests

* rules: make tests clearer

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* rulespb: fix some timestamp stuff

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* api: reuse same function, fix tests

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* rules: use proper default value for Timestamp

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* fix to tests

* fix tests

* metadata: fix tests

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* *: remove unused files

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

* e2e: fix more timestamp problems

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

Co-authored-by: rahulii <r.sawra@gmail.com>
Co-authored-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
GiedriusS pushed a commit that referenced this pull request Jul 11, 2023
…-func

Reuse buffers for label comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants