summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-04 02:13:15 (EDT)
committerEike Stepper2007-09-04 02:13:15 (EDT)
commit6cc7a45ed386e42d005e0232371e5d2f0504c654 (patch)
tree516d47c751f499cab5ff7dde5e07763a0ed2b712
parent4775ad921aa23d1ec4d51b37816fac048c1b175b (diff)
downloadcdo-6cc7a45ed386e42d005e0232371e5d2f0504c654.zip
cdo-6cc7a45ed386e42d005e0232371e5d2f0504c654.tar.gz
cdo-6cc7a45ed386e42d005e0232371e5d2f0504c654.tar.bz2
[201265] Handling large collections by loading CDOIDs in chunks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201265
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/protocol/LoadChunkIndication.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/protocol/LoadChunkIndication.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/protocol/LoadChunkIndication.java
index 952f877..0dc3cc9 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/protocol/LoadChunkIndication.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/protocol/LoadChunkIndication.java
@@ -20,7 +20,6 @@ import org.eclipse.emf.cdo.protocol.CDOProtocolConstants;
import org.eclipse.emf.cdo.protocol.model.CDOClass;
import org.eclipse.emf.cdo.protocol.model.CDOClassRef;
import org.eclipse.emf.cdo.protocol.model.CDOFeature;
-import org.eclipse.emf.cdo.protocol.revision.CDORevision;
import org.eclipse.net4j.internal.util.om.trace.ContextTracer;
import org.eclipse.net4j.util.io.ExtendedDataInputStream;
@@ -80,7 +79,7 @@ public class LoadChunkIndication extends CDOReadIndication
@Override
protected void responding(ExtendedDataOutputStream out) throws IOException
{
- CDORevisionImpl revision = getRevisionManager().getRevisionByVersion(id, CDORevision.UNCHUNKED, version);
+ CDORevisionImpl revision = getRevisionManager().getRevisionByVersion(id, 0, version);
MoveableList list = revision.getList(feature);
for (int i = fromIndex; i <= toIndex; i++)
{