forked from h2oai/h2o-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FetchAck priority level (so an RPC response containing a new type can fetch the type & id from the leader even if its the leader sending the RPC response). AutoBuffer.close takes no args & is idempotent. H2O priority queues, worker threads do not surf other low-priority worker thread queues.
- Loading branch information
1 parent
1fa2b13
commit 375a460
Showing
11 changed files
with
134 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
package water; | ||
|
||
import water.H2O.H2OCountedCompleter; | ||
|
||
/** | ||
|
@@ -9,7 +10,7 @@ | |
* @author <a href="mailto:[email protected]"></a> | ||
* @version 1.0 | ||
*/ | ||
public class FJPacket extends H2OCountedCompleter { | ||
class FJPacket extends H2OCountedCompleter { | ||
final AutoBuffer _ab; | ||
final int _ctrl; // 1st byte of packet | ||
FJPacket( AutoBuffer ab, int ctrl ) { _ab = ab; _ctrl = ctrl; } | ||
|
@@ -29,6 +30,7 @@ public class FJPacket extends H2OCountedCompleter { | |
H2O.MAX_PRIORITY, // Rebooted | ||
H2O.MAX_PRIORITY, // Timeline | ||
H2O.ACK_ACK_PRIORITY,// Ack Ack | ||
H2O.FETCH_ACK_PRIORITY, // Class/ID mapping ACK | ||
H2O.ACK_PRIORITY, // Ack | ||
H2O.DESERIAL_PRIORITY}; // Exec is very high, so we deserialize early | ||
@Override public byte priority() { return UDP_PRIORITIES[_ctrl]; } | ||
|
Oops, something went wrong.