|
@@ -27,11 +27,9 @@ extern roxiemem::IDataBufferManager *bufferManager;
|
|
|
|
|
|
typedef bool (*PKT_CMP_FUN) (void *pkData, void *key);
|
|
|
|
|
|
-#define UDP_SEQUENCE_COMPLETE 0x80000000
|
|
|
-
|
|
|
// Flag bits in pktSeq field
|
|
|
#define UDP_PACKET_COMPLETE 0x80000000 // Packet completes a single slave request
|
|
|
-#define UDP_PACKET_RESERVED 0x40000000 // Not used - could move UDP_SEQUENCE_COMPLETE here?
|
|
|
+#define UDP_PACKET_ENDBURST 0x40000000 // Packet completes a single slave data burst
|
|
|
#define UDP_PACKET_SEQUENCE_MASK 0x3fffffff
|
|
|
|
|
|
struct UdpPacketHeader
|
|
@@ -40,8 +38,7 @@ struct UdpPacketHeader
|
|
|
unsigned short metalength; // length of metadata (comes after header and data)
|
|
|
unsigned nodeIndex; // Node this message came from
|
|
|
unsigned msgSeq; // sequence number of messages ever sent from given node, used with ruid to tell which packets are from same message
|
|
|
- unsigned pktSeq; // sequence number of this packet within the message (top bit signifies final packet)
|
|
|
- unsigned udpSequence; // Top bits used for flow control info
|
|
|
+ unsigned pktSeq; // sequence number of this packet within the message (top bits used for flags)
|
|
|
// information below is duplicated in the Roxie packet header - we could remove? However, would make aborts harder, and at least ruid is needed at receive end
|
|
|
ruid_t ruid; // The uid allocated by the server to this slave transaction
|
|
|
unsigned msgId; // sub-id allocated by the server to this request within the transaction
|