Skip to content

PHOENIX-7785 Avoid infinite loops & duplicate file processing for in progress directory#2395

Open
Himanshu-g81 wants to merge 3 commits intoapache:PHOENIX-7562-feature-newfrom
Himanshu-g81:PHOENIX-7785
Open

PHOENIX-7785 Avoid infinite loops & duplicate file processing for in progress directory#2395
Himanshu-g81 wants to merge 3 commits intoapache:PHOENIX-7562-feature-newfrom
Himanshu-g81:PHOENIX-7785

Conversation

@Himanshu-g81
Copy link
Copy Markdown
Contributor

No description provided.

*/
protected boolean markCompleted(final Path file) {
long startTime = EnvironmentEdgeManager.currentTimeMillis();
long startTime = EnvironmentEdgeManager.currentTime();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I didn't understand the reason behind this change

Copy link
Copy Markdown
Contributor Author

@Himanshu-g81 Himanshu-g81 Apr 7, 2026

Choose a reason for hiding this comment

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

It's to use the same libraray across different classes in this module, so when current time is injected from test, it gets propogated to all the classes (instead of doing injecting for both the libraries in test code).

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