Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

Isolation - #306

Open
gouthamve wants to merge 15 commits into
prometheus-junkyard:masterfrom
gouthamve:isolation
Open

Isolation#306
gouthamve wants to merge 15 commits into
prometheus-junkyard:masterfrom
gouthamve:isolation

Conversation

@gouthamve

@gouthamve gouthamve commented Mar 19, 2018

Copy link
Copy Markdown
Collaborator

A rebase of #105

fixes #260
fixes prometheus/prometheus#1893

Tests are broken and cleanup pending.


This change is Reviewable

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
@gouthamve

Copy link
Copy Markdown
Collaborator Author

Prombench results under heavy query load:
samples-s

cpu-s
mem-s

Queries are marginally slower and almost unaffected.

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
@gouthamve gouthamve changed the title WIP: Isolation Isolation Mar 25, 2018
@gouthamve

Copy link
Copy Markdown
Collaborator Author

@fabxc @brian-brazil DONE!

This is ready for review. Having a single Head and not multiple made it possible to have 0 public interface changes! I'll run this in prombench overnight for any surprises :)

Comment thread block.go
}

// Appendable defines an entity to which data can be appended.
type Appendable interface {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't there an incompatibility issue with removal of public interface?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, but we don't use this interface in tsdb itself. I am not sure we want to provide any guarantees about stability yet.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sure, but TSDB is a library. Anyone can depends on that including Prometheus itself. But I don't know, maybe the policy for TSDB is just to always vendor and pin to some version, so this is fine.

@brian-brazil brian-brazil mentioned this pull request Mar 29, 2018
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
@krasi-georgiev

krasi-georgiev commented Nov 28, 2018

Copy link
Copy Markdown
Contributor

@gouthamve if you want to rebase and fix the conflicts I would try to review it quickly.

best to do it after merging the other pending PRs that are ready for merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsdb: Isolation for writes Make rule evaluation and federation consistent in time

4 participants