Lines Matching defs:primary
125 * ID with the primary; otherwise we're susceptible
214 * cursor in the primary is open, and when the secondary and
215 * primary are subdatabases or we're using env-wide locking,
385 * prevents puts on them--but we may be a primary. If so,
666 * Add the secondary to the list on the primary. Do it here
668 * the primary.
680 * We loop through the primary, putting each item we
685 * primary, so that we stay deadlock-free, but that means
687 * open on the primary will self-block. To get around this,
688 * we force the primary cursor to use the same locker ID
769 * a primary that is updating.
778 DB *primary;
783 primary = sdbp->s_primary;
784 env = primary->env;
786 MUTEX_LOCK(env, primary->mutex);
789 * thread is currently updating this secondary through the primary,
802 MUTEX_UNLOCK(env, primary->mutex);
814 * a record to a primary database.
916 * Since we know we have a new primary key, it can't be a