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

Isolation #306

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Isolation #306

wants to merge 15 commits into from

Conversation

gouthamve
Copy link
Collaborator

@gouthamve gouthamve commented Mar 19, 2018

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
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
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 :)

@@ -130,10 +130,17 @@ type BlockReader interface {
Tombstones() (TombstoneReader, error)
}

// Appendable defines an entity to which data can be appended.
type Appendable interface {
Copy link
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
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
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
Copy link
Contributor

krasi-georgiev commented Nov 28, 2018

@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