Age | Commit message (Collapse) | Author | Files | Lines |
|
The current manifest implementation is broken:
1. ManifestIndexingManager, responsible for validating manifests and
segments and retrieving the next ones, assumes that all manifests
have the same size. This assumption affects the retrieval of next
manifests which is based on the number of segments the current
manifest contains. Therefore when a non-full manifests arrives,
the computed suffix of the next manifest is wrong and refer to a
content instead, which results in an error.
2. Manifests are used to update a suffix queue which stores all
the segments listed in manifests. This queue is used to retrieve
content sequentially via a pointer indicating the next content to
fetch. When the pointer reaches the end of the suffix queue, the
consumer stops sending interests. The correct behavior would be to
wait for a new manifest which would update the queue.
This patch fixes these two issues:
1. Issue 1 was fixed by using SuffixManifest (HICN-392). This allows
to set the capacity of a manifest at the start of the consumption
instead of checking each time the size of the current manifest and
then using that (non-constant) value to retrieve the next manifests.
2. Issue 2 was fixed by passing to ManifestIndexingManager a reference
to an object capable of calling the scheduleNextInterest function,
which is then called after a new manifest is retrieved to make sure
interests for content kept being sent. This is not an optimal solution
but rather a temporary one, until the retrieval of manifests is done
at the transport level rather than in ManifestIndexingManager.
This patch also changes the order of production: manifests are now
sent before content. To do so, contents are added into a queue until
the manifest is complete.
Signed-off-by: Olivier Roques <olvrqs@gmail.com>
Change-Id: I1a1bb92ca1cf2d3c745c1b65f6c7376f916c679b
|
|
|
|
Moved rescheduleOnIOService in the header file to allow its usage together
with inheritance
Change-Id: I15e4b92535e1478d0dd09828d2d13e2b77e000b3
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Id8f59c9c52d7c1fa21edbae9ee1b965b25fe6800
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I2e52d002533706abdd82fbca5ebb80e81374de86
|
|
wainting for the timeout
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I84074d106bf2cfd3f7a3fb02947198179b0b5b74
|
|
Change-Id: Ie22572822b9ac1e6c300fd7982035c799546bd76
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Iaf947ac6c7763ba0a648f9cc865ca0f11cb3e31f
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I5ab36c5dde449ff0f3e0372372c09dbb227aecf5
|
|
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I735764cf2520182ae46bd2b18f1dc87355a57d85
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Id9fb3a5ae6355e901ba2f2d4a93e8ad241b4410c
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Iae4e0bbc5a1e534fd3727d02804aba370378af00
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I9777e445acf0dd0f70af0a9446b3b9a1424c0c6f
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I29d9720450f8cee429eb02a494092f208c298355
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Ib6511d82abc91e9008588cd2b7fd80022c6d232b
|
|
Change-Id: I2edb971f43ed4ad2165349345999a7af871323da
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I1b02b9338e43de27cf90b4a11121c54a00ed428a
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I69d331aa6e953e802e2f4b3e60325f852941fd94
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
ubuntu/debian and lib64 on centos)
Change-Id: I9c8fc206f2f93b9eae1060387ab6d0833da80124
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: If8e11556afcd8828cb0aa7759e6c1194a1657f1d
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I75f074413f5b829769ca9908253ffe389ec3bd3d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Id1f6d61fd316ec2ef6f1fc0c6b758e79275cfae6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I9a07c6c806ceba10f80a5f67337dce2eee76120d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I1e088c782ba727131ddd71ffe1fb1d8edd2cdec2
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
where N is defined by the application.
Change-Id: Ib20309b40e43e4c0db09b9b484e18cd2e3ebf581
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Ie7c24674715e593e1479b027226dbe8eda310421
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I87c9c0a0b556263582f451e73cb22091cdc0919a
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: Ide96e5798ab57f057de6a6f91078a5082f69e313
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I4b232bbe7edc4b09d9ebd750724761e7e6c75bf8
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: Ibc8b9ef65feaf6fbe12dbaa285ddcd738e1cd197
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: Ib2d6658a6118b29f57b99ecc58ac001030092982
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Ia4b754c555fa83746680d9dcfd2c73f7d55c72a5
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Id8fe64fb6d0748b3708f0bbd1e6e7d154cc04437
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I1e9a214ead9d4d9bacd98d797371783ad39909f7
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I23532b0609dba5b570c6f269e8f1d9889bcf624c
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
- Add MemBuf as return type of getPayload of transport::core::Packet
- Fix incremental index manager
Change-Id: Ib557d56b1bf42e3974364c611b825b21f1e3d3f1
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I1b61c79e99bb8da471d1e284ea2a629d48b9f308
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Ibb5d90fe35097a29fa6edccd3c7859d043888717
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
|
|
attributes of connectors and sockets. Cleanup of prints.
Change-Id: Ie7eef1d186e581aa950f47df20d57681dc33be55
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I6683ec5b494238dc93591c103d25275e89b9f267
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I0c5afad4b404ec485f50b1342b81e70ef85a5163
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I09456770dcbca979491cdcadb310eab95a0dea17
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
|
|
Change-Id: I5e8700b6e26660acbe5e9a7a6716d322acb03466
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I2235f319a02aed43657db4954b68f00a28b0c9d8
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
|
|
Change-Id: Id07bd589e06852f0788b823735af1b95e09bba0a
Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
|
|
- Improved vpp binary api interface
- Correction in object pool destructor
- Fix error in Memif Connector
Change-Id: Id1dd9219fc1ac0b3717ae019ebff17373bebc635
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f
Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>
|