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

ShipmentScheduleEnqueuer - directly close the lock when done #11217

Merged
merged 5 commits into from
Jun 3, 2021

Conversation

metas-ts
Copy link
Member

@metas-ts metas-ts commented Jun 2, 2021

  • ShipmentScheduleEnqueuer - don't wait for for the lock to be closed async later on
  • If aquiring a lock fails, select and output the existing locks

Copy link
Member

@teosarca teosarca left a comment

Choose a reason for hiding this comment

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

see my comments

Copy link
Member Author

@metas-ts metas-ts left a comment

Choose a reason for hiding this comment

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

lgtm

+ I_T_Lock.COLUMNNAME_IsAllowMultipleOwners
+ " FROM " + I_T_Lock.Table_Name
+ " WHERE " + I_T_Lock.COLUMNNAME_AD_Table_ID + " = " + adTableId.getRepoId()
+ " AND " + whereSql;
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
+ " AND " + whereSql;
+ " AND ( " + whereSql + " )";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants