Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Batch Insert for Adding Shared Resource Attributes #435

Conversation

BimsaraBodaragama
Copy link
Contributor

@BimsaraBodaragama BimsaraBodaragama commented Jan 25, 2025

Purpose

The current implementation for adding shared resource attributes lacked explicit batch queuing, leading to potential data inconsistencies during insert operations. This fix introduces proper batch insertion to ensure all attributes are processed correctly.

Goals

  • Ensure all shared resource attributes are queued for batch processing and insertion.
  • Maintain transactional integrity and improve reliability of the operation.
  • Prevent partial or incomplete batch execution scenarios.

Approach

Introduced addBatch() within the batch processing logic to ensure each shared resource attribute is properly queued for insertion.

--

Related Issues

Improve Batch Processing Logic for Adding Shared Resource Attributes #22430

@AnuradhaSK
Copy link
Contributor

Merging without PR builder because this DAO layer consumed service is not yet engaged in end user flow.

@AnuradhaSK AnuradhaSK merged commit fef8587 into wso2-extensions:main Jan 25, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants