Comments (7)
You mention "This means that we cannot easily delete inactive series by executing a WarpScript.", could such deletions be performed using a call to the /api/v0/delete endpoint, possibly with the use of the 'metaonly' flag to simply remove the metadata?
from warp10-platform.
On the implementation side of things, what you describe looks a lot like a Directory plugin, why modify the Directory class instead of creating a Directory plugin?
[Updated] is it because the lastactivity is not available to plugins? This can be easily added to the plugin interface if need be.
from warp10-platform.
Indeed, it's not possible for us to do a delete with metalonly
as selected a series subset to delete with a find
is too costly.
from warp10-platform.
For the directory plugin, I didn't think about it at all. I will check but as long as we get the init series metadata, this cleaner
could be a directory plugin indeed. However, for my use case, I would still need to provide, inside the directory, the source code enabling a clean stop once the directory has loaded HBase.
from warp10-platform.
With some second thought, I do not think it matches the directory plugin
pattern, as I am adding context when initialising the directory with HBase (in case the lastactivity is too old send a delete message to Kafka). Otherwise I keep the same pattern, and the directory work as usual. It's only in the case where the parameter directory.cleaner.stop
is set to true that I change the behaviour (storing no series in RAM and shutting down the directory when HBase is read). This parameter may have another name, as even if I use it for the directory cleaner
it can be used globally for the directory.
from warp10-platform.
We discussed with @hbs and there could be a possibility as a trusted directory plugin
which require Mathias to merge it :) Once done we will give it a look, but as I understood it, this case would have all necessary context to arbitrate a deletion while keeping the same usage pattern or running a job regularly.
from warp10-platform.
Hello @StevenLeRoux @aurrelhebert ,
2.11.0 is released with TrustedDirectoryPlugin. Waiting for your feedback...
from warp10-platform.
Related Issues (20)
- [Bug] FOREACH loop execution can push BigDecimal values on the stack
- Error in bootstrap with TOKENGEN
- inconsistent result of divide by 0 within gts arithmetics HOT 3
- HTTP does not support digest authorization
- Warp10 is not available at 8080 port HOT 2
- BUCKETIZE.CALENDAR and negative timezones
- SLEEP does not behave correctly in concurrent execution HOT 1
- max execution time versus stop interruption HOT 2
- VALUESPLIT does not split boolean values as expected
- Bucketize not working perfectly in latest version HOT 1
- Warp Studio Behaving differently with Data Stored in the DB versus Data parsed in the memory HOT 2
- jdk17 breaks GOLDWRAP HOT 3
- SHRINK does not alter bucketize status HOT 2
- mixed type in filter.any.gt HOT 1
- BUCKETIZE.CALENDAR, or UNBUCKETIZE.CALENDAR with last bucket in the future HOT 1
- showuuid in FIND HOT 1
- unclear class cast exception
- inconsistent behavior of missing label search
- Parsing new line during ingress
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warp10-platform.