Skip to content

Refactoring the three phases of data collection tasks using disruptor#48

Merged
SteveYurongSu merged 1 commit intoapache:masterfrom
YC27:collector_task_reconstruct
Mar 4, 2025
Merged

Refactoring the three phases of data collection tasks using disruptor#48
SteveYurongSu merged 1 commit intoapache:masterfrom
YC27:collector_task_reconstruct

Conversation

@YC27
Copy link
Copy Markdown
Contributor

@YC27 YC27 commented Mar 3, 2025

No description provided.

TASK_REPOSITORY_MAP.put(taskId, taskRepository);
taskRepository.create();

LOGGER.info("Successfully created task {}", taskId);

Check failure

Code scanning / CodeQL

Log Injection High

This log entry depends on a
user-provided value
.
}

TASK_REPOSITORY_MAP.get(taskId).start();
LOGGER.info("Task {} started successfully", taskId);

Check failure

Code scanning / CodeQL

Log Injection High

This log entry depends on a
user-provided value
.
.build();
}

LOGGER.info("Task {} stopped successfully", taskId);

Check failure

Code scanning / CodeQL

Log Injection High

This log entry depends on a
user-provided value
.
}

TASK_REPOSITORY_MAP.remove(taskId).drop();
LOGGER.info("Task {} dropped successfully", taskId);

Check failure

Code scanning / CodeQL

Log Injection High

This log entry depends on a
user-provided value
.
if (TASK_REPOSITORY_MAP.containsKey(taskId)) {
return true;
}
LOGGER.warn("Task {} not found", taskId);

Check failure

Code scanning / CodeQL

Log Injection High

This log entry depends on a
user-provided value
.
This log entry depends on a
user-provided value
.
This log entry depends on a
user-provided value
.
This log entry depends on a
user-provided value
.
@SteveYurongSu SteveYurongSu merged commit 25a88f6 into apache:master Mar 4, 2025
8 of 9 checks passed
@YC27 YC27 deleted the collector_task_reconstruct branch April 27, 2025 01:55
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