GitHub user EricTonissen added a comment to the discussion: Pipeline keeps
running on simple 'Stream Lookup' action.
**ByteArrayHashIndex.put()** ends in an endless loop, if the array is full.
Better iterate the array only once. If it is full, then throw error.
//
// If we are still here, that means that we are ready to put the value
down...
// Where do we need to search for an empty spot in the index?
//
int len = index.length;
while (true) {
indexPointer++;
if (indexPointer >= len) {
indexPointer = 0;
}
if (index[indexPointer] == null) {
break;
}
}
GitHub link:
https://github.com/apache/hop/discussions/6152#discussioncomment-15208326
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]