Skip to content

Commit

Permalink
[HOPSWORKS-1058] [ePipe] wrong event ordering during recovery (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
maismail authored Apr 26, 2019
1 parent 12766fb commit c424f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FsMutationsTableTailer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void FsMutationsTableTailer::pushToQueue(FSpq* curr) {

void FsMutationsTableTailer::pushToQueue(FSv* curr) {
std::sort(curr->begin(), curr->end(), FsMutationRowComparator());
for (FSv::iterator it = curr->begin(); it != curr->end(); ++it) {
for (FSv::reverse_iterator it = curr->rbegin(); it != curr->rend(); ++it) {
mQueue->push(*it);
}
delete curr;
Expand Down
2 changes: 1 addition & 1 deletion src/ProvenanceTableTailer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void ProvenanceTableTailer::pushToQueue(PRpq *curr) {

void ProvenanceTableTailer::pushToQueue(Pv* curr) {
std::sort(curr->begin(), curr->end(), ProvenanceRowComparator());
for (Pv::iterator it = curr->begin(); it != curr->end(); ++it) {
for (Pv::reverse_iterator it = curr->rbegin(); it != curr->rend(); ++it) {
mQueue->push(*it);
}
delete curr;
Expand Down

0 comments on commit c424f2b

Please sign in to comment.