wso2 / carbon-coordination Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Absolute method reference:
org.wso2.carbon.cluster.coordinator.rdbms.RDBMSCommunicationBusContextImpl#clearMembershipEvents(java.lang.String, java.lang.String)
Description:
Currently, only RDBMS coordination is supported in C5 implementation. Implmentation of ZooKeeper coordination is pending
Suggested Labels:
Feature
Suggested Assignees:
@sajithshn
Currently, It is only possible to get the node details of the leader node. Maybe we can return the node ID when joining the cluster group and use that to check if the current node is the leader.
Currently, the config is read from $CARBON_HOME/conf/coordinatorConfig.yaml. It should be read from $CARBON_HOME/repository/conf/coordinatorConfig.yaml
We can probably get rid of the one in org.wso2.carbon.cluster.coordinator.commons
Data cleaning will be easier if we reuse the same node ID for nodes.
We can persist in $CARBON_HOME similar to how the pid is persisted
Implementation based on carbon-datasources, based on C5, needs to be removed to use the coordination component with C4 based products.
I propose the following module restructuring to manage multiple coordination strategy implementations effectively.
List of modules,
RDBMS coordination read notifications from MEMBERSHIP_EVENT_TABL. After selecting notifications, those are deleted by the destined node. This would lead delete unread notifications in a high concurrent scenario.
The fix is select notifications with event id and then delete notifications by event id.
Related JIRA: https://wso2.org/jira/browse/MB-1881
It seems the purpose of the ant build is to copy coordinatorConfig.yaml
file from src/main/config
to src/main/resources
and create the target directory which we don't have to do.
Build file location:
features/cluster-coordinator/org.wso2.carbon.cluster.coordinator.service.feature/build.xml
Description:
Current C5 implementation of RDBMS based carbon-coordination only works with mysql. Need to add support for oracle, mssql and postgresql databases
Suggested Labels:
Feature Enhancement
Priority High
Suggested Assignees:
@Anoukh
Affected Product Version:
carbon-coordination C5 implementation
OS, DB, other environment details and versions:
N/A
Steps to reproduce:
N/A
Related Issues:
N/A
This should be done to avoid two coordinators operation in the same cluster group.
Refer the following commit for similar implementation:
wso2/andes@cef1d6a
Database Scripts for the following DBs should be added,
Currently, only the MEMBERSHIP_EVENT_TABLE is cleared when restarting.
Description:
Naming conventions of import ranges is inconsistent in parent pom. All version ranges should end with .range
Suggested Labels:
Minor Fix
Currently, a YAML configuration is used even in the 1.x.x version. For consistency with other Carbon 4 configs, config should be an XML file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.