backends/brass/brass_database.cc File Reference

#include <config.h>
#include "brass_database.h"
#include <xapian/error.h>
#include <xapian/valueiterator.h>
#include "contiguousalldocspostlist.h"
#include "brass_alldocspostlist.h"
#include "brass_alltermslist.h"
#include "brass_replicate_internal.h"
#include "brass_document.h"
#include "../flint_lock.h"
#include "brass_metadata.h"
#include "brass_positionlist.h"
#include "brass_postlist.h"
#include "brass_record.h"
#include "brass_spellingwordslist.h"
#include "brass_termlist.h"
#include "brass_valuelist.h"
#include "brass_values.h"
#include "debuglog.h"
#include "io_utils.h"
#include "pack.h"
#include "remoteconnection.h"
#include "replication.h"
#include "replicationprotocol.h"
#include "serialise.h"
#include "str.h"
#include "stringutils.h"
#include "utils.h"
#include "valuestats.h"
#include "safeerrno.h"
#include "safesysstat.h"
#include <sys/types.h>
#include <algorithm>
#include "autoptr.h"
#include <string>

Include dependency graph for brass_database.cc:

Go to the source code of this file.

Defines

#define MAX_SAFE_TERM_LENGTH   245

Variables

const int MAX_OPEN_RETRIES = 100
 Maximum number of times to try opening the tables to get them at a consistent revision.


Define Documentation

#define MAX_SAFE_TERM_LENGTH   245


Variable Documentation

const int MAX_OPEN_RETRIES = 100

Maximum number of times to try opening the tables to get them at a consistent revision.

This is mostly just to avoid any chance of an infinite loop - normally we'll either get then on the first or second try.

Definition at line 96 of file brass_database.cc.

Referenced by FlintDatabase::open_tables_consistent(), ChertDatabase::open_tables_consistent(), and BrassDatabase::open_tables_consistent().


Documentation for Xapian (version 1.2.13).
Generated on 9 Jan 2013 by Doxygen 1.5.9.