Comments (5)
Investigating code I see
private void createIndexesTemplates() {
try {
initIndexesTemplates();
updateIndexesNames();
Executors.newScheduledThreadPool(1).scheduleAtFixedRate(this::updateIndexesNames, 0, 1, TimeUnit.HOURS);
} catch (Exception e) {
logger.error("Error creating index templates!", e);
}
}
See this line
Executors.newScheduledThreadPool(1).scheduleAtFixedRate(this::updateIndexesNames, 0, 1, TimeUnit.HOURS);
Where updateIndexesNames
creates new index every week.
Can someone explain why does it change names for indices?
I'd like to change this behavior, because we reaching limits on shards.
from conductor-community.
I also checked below methods are not used anywhere:
IndexDAO.getEventExecutions
IndexDAO.getMessages
so it is probably safe to stop indexing them:
conductor.app.eventMessageIndexingEnabled=false
conductor.app.eventExecutionIndexingEnabled=false
However to stop creating new indices we need to change this config:
conductor.elasticsearch.autoIndexManagementEnabled=false
And provision indices for conductor manually.
Can anybody comment on this?
from conductor-community.
Hi @astelmashenko , Thanks for reporting this. We will add support for archival from ES also.
Let me know if this works, or we can chat here for more realtime collaboration.
from conductor-community.
We will add support for archival from ES
Yes, it will help.
Additionally, I'd add reaction to indexing flag, e.g. if conductor.app.eventMessageIndexingEnabled=false
is set then do not create new indices once a week. Maybe think also about changing period of creating new indices, e.g. WEEK, MONTH, YEAR
Thanks
from conductor-community.
@manan164 , are there any work done on archival of indicies?
from conductor-community.
Related Issues (20)
- [DOC]: Community Server HOT 2
- Out of the box build / test failure
- Elastic Search version 8
- [QUESTION]: 3.13.6 Issue with Elasticsearch 7 HOT 6
- Updating the status of an IN PROGRESS task to IN PROGRESS returns it to SCHELUDED. HOT 2
- pollMessages() in PostgresQueueDAO does not break when popMessages() returns empty message list. HOT 1
- AMQPObservableQueue 'ack' implementation is inconsistent with the interface HOT 1
- zookeeper lock znode not getting cleared after workflows are finalized HOT 1
- Azure Blob Storage & Azure Service Bus Integration HOT 2
- Postgres indexing problem
- Unable to get CORE_CONDUCTOR_VERSION
- Conductor migration scripts does not work with Postgres 10
- Conductor server deployment is failing with elasticsearch 7
- Dynamic fork join with subworkflow does not work properly in v3.13.8 with postgres indexing HOT 1
- [QUESTION]: amqp Repeated push message HOT 1
- There is inputExpression in the task configuration in the official document, but it is not seen in the code implementation
- [QUESTION]: There is inputExpression in the task configuration in the official document, but it is not seen in the code implementation? HOT 1
- HTTP task calling HTTPS with certs
- Log4j configuration file cannot be used correctly
- Subworkflow is completed but subworkflow is timed out
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 conductor-community.