/*
- * $Id: store.cc,v 1.296 1997/10/20 19:07:09 wessels Exp $
+ * $Id: store.cc,v 1.297 1997/10/20 22:49:25 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
MemObject *mem = e->mem_obj;
struct _store_client *sc;
static int recurse_detect = 0;
+ assert(e->store_status != STORE_ABORTED);
assert(recurse_detect < 3); /* could == 1 for IMS not modified's */
debug(20, 3) ("storeClientCopy: %s, seen %d, want %d, size %d, cb %p, cbdata %p\n",
e->key,
sc->copy_buf = buf;
sc->copy_size = size;
sc->copy_offset = copy_offset;
+ assert(seen_offset <= mem->inmem_hi || e->store_status != STORE_PENDING);
if (e->store_status == STORE_PENDING && seen_offset == mem->inmem_hi) {
/* client has already seen this, wait for more */
debug(20, 3) ("storeClientCopy: Waiting for more\n");