Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upWrong storage engine flag value #2087
Comments
brian-brazil
added this to the
2.x milestone
Oct 26, 2016
brian-brazil
added
the
kind/cleanup
label
Oct 26, 2016
This comment has been minimized.
This comment has been minimized.
|
I suggest moving everything to Do we really need a persistence-disabled mode for tsdb? |
This comment has been minimized.
This comment has been minimized.
|
I've never seen much use for persistence disabled, the use case always really seems to be for a very short retention period. |
This comment has been minimized.
This comment has been minimized.
|
I think it's mainly used for Cortex collectors. |
This comment has been minimized.
This comment has been minimized.
|
So, I saw that with none, we have a Implementing the noopStorage is straight-forward but I think it should ideally be done after #2850 We could remove the flag now and add it when noopStorage is added. |
This comment has been minimized.
This comment has been minimized.
|
This is gone for now. Pointing TSDB at tmpfs should work just fine. Truly preventing any file from being written has no strong enough performance benefit that'd be worth the effort right now. |
This comment has been minimized.
This comment has been minimized.
|
I guess the argument would be more ease of use, but I agree that there are
more important things.
…On Tue, Jun 27, 2017 at 11:21 AM Fabian Reinartz ***@***.***> wrote:
This is gone for now. Pointing TSDB at tmpfs should work just fine. Truly
preventing any file from being written has no strong enough performance
benefit that'd be worth the effort right now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2087 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANaDEdB-QhcNF-MdF70d75ul5kHs8uks5sIMmEgaJpZM4KYUHr>
.
|
This comment has been minimized.
This comment has been minimized.
|
Would still be nice to be able to use Prometheus as a pure remote reader/writer. Otherwise one has to think how large a block on disk can get and how much memory it will consume... although all one wants to do is forward / read back samples. I mean, I'm not actively working on Cortex anymore, but think the idea is nice in general. |
This comment has been minimized.
This comment has been minimized.
|
@juliusv yea, I see no problem adding it back once someone comes claims a need for it. But since we stirred up all the flags anyway, I don't see it as a hard 2.0 requirement. One might even argue that this is more of a use case for the component disaggregation you started a discussion on a while ago. A forward-only mode should possibly rather be a sub-command that's explicit about the remaining functionality rather than just disabling the storage and being left with all query and rule APIs still enabled but non-functional. That might mostly be a perception of purity though. |
This comment has been minimized.
This comment has been minimized.
|
Though for the user it would be a straightforward thing to do. Instead of:
you just say
|
This comment has been minimized.
This comment has been minimized.
|
@fabxc That sounds good in general, though I wonder what that approach would look like if you still do want the querying (like when you use it for remote write and read). For that kind of thing, it'd be easier to specifically just turn the local storage off. But I also think it's ok to start 2.x without this and add it later. Better than adding something half-thought-out now that we can't break later. |
This comment has been minimized.
This comment has been minimized.
|
Right, good point. Let's look into this again later then. Will remove it from the milestone for now. |
fabxc
removed this from the v2.x milestone
Jun 27, 2017
brian-brazil
added
priority/P3
component/local storage
labels
Jul 14, 2017
fabxc
closed this
in
67dc73f
Oct 7, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
fabxc commentedOct 17, 2016
When we discussed a boolean enable/disable flag for local storage, we decided to have an
enginestring flag instead, which allowsdisabledas well as any custom engine people want.However, the default value for the current local storage engine ended up being
persistet, which is equivalent to a boolean flag again.Anyway, changing it would be breaking, so we have to live with it.
Issue just helps tracking for >1.0.
@juliusv