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

EPRMPP-83651 || Clean storage job out of memory #74

Merged
merged 9 commits into from
May 18, 2023

Conversation

IvanKustau
Copy link
Collaborator

No description provided.

@IvanKustau IvanKustau requested a review from APiankouski May 17, 2023 15:19
@IvanKustau IvanKustau self-assigned this May 17, 2023
}, batchSize);

int attachmentsSize = thumbnails.size() + attachments.size();
if (attachmentsSize == 0){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [reviewdog] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck> reported by reviewdog 🐶
WhitespaceAround: '{' is not preceded with whitespace.

/**
* Storage service interface
*/
public interface DataStorageService {
void delete(String filePath) throws Exception;
void deleteAll(List<String> paths) throws Exception;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [reviewdog] <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck> reported by reviewdog 🐶
'method def modifier' has incorrect indentation level 4, expected level should be 2.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@IvanKustau IvanKustau merged commit 487b7c0 into hotfix/next May 18, 2023
@IvanKustau IvanKustau deleted the EPMRPP-83651-clean-storage-job-out-of-memory branch May 18, 2023 08:38
APiankouski added a commit that referenced this pull request Jun 7, 2023
* EPMRPP-81362 || Fix security vulnerabilities (#58)

* EPMRPP-81362 || Update gson version to make able jcloud work (#59)

* EPMRPP-82673-exec-jar promote.yml update (added exec jar)

* Merge master to 5.7.5 (#66)

* EPMRPP-80865|| Update bom version

* [Gradle Release Plugin] - new version commit:  '5.7.5'.

* EPMRPP-82673-exec-jar promote.yml update (added exec jar)

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>

* Update version

* EPMRPP-82707 || Add single bucket configuration (#67)

* EPMRPP-82707 || Add single bucket configuration

* EPMRPP-82707 || Refactor according to checkstyle

* EPMRPP-79722 || Replace RuntimeException with checked exception when file is not found in CleanStorageJob (#68)

* Merge master to hotfix/next (#72)

* Release 5.8.0 (#71)

* EPMRPP-81362 || Fix security vulnerabilities (#58)

* EPMRPP-81362 || Update gson version to make able jcloud work (#59)

* Merge master to 5.7.5 (#66)

* EPMRPP-80865|| Update bom version

* [Gradle Release Plugin] - new version commit:  '5.7.5'.

* EPMRPP-82673-exec-jar promote.yml update (added exec jar)

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>

* Update version

* EPMRPP-83538 || Job service version is missing on Login page

* Update version

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: Ivan Kustau <86599591+IvanKustau@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>
Co-authored-by: Andrei Piankouski <andrei_piankouski@epam.com>

* [Gradle Release Plugin] - new version commit:  '5.8.1'.

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: Ivan Kustau <86599591+IvanKustau@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>
Co-authored-by: Andrei Piankouski <andrei_piankouski@epam.com>

* EPRMPP-83651 || Clean storage job out of memory (#74)

* EPMRPP-83651 || Create batching for clean storage job

* EPMRPP-83651 || Refactor CleanStorageJob

* EPMRPP-83651 || Add check for empty attachment_deletion table

* EPMRPP-83651 || Clean attachments list every batch

* EPMRPP-83651 || Add default value for feature flags

* EPMRPP-83651 || Change logic for CleanStorageJob when using multibucket

* EPMRPP-83651 || Fix bug interrupting remove files when bucket is not found

* EPMRPP-83651 || Refactor CodeStyle

* EPMRPP-83098 || Update datastore variables naming (#75)

* Update gradle scripts version

* Remove dockerPrepareEnvironment

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: Ivan Kustau <86599591+IvanKustau@users.noreply.github.com>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: Andrei Piankouski <andrei_piankouski@epam.com>
Co-authored-by: Ivan_Kustau <Ivan_Kustau@epam.com>
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