#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>

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 MAX_SAFE_TERM_LENGTH 245 |
Definition at line 88 of file brass_database.cc.
Referenced by FlintWritableDatabase::add_document_(), ChertWritableDatabase::add_document_(), BrassWritableDatabase::add_document_(), FlintWritableDatabase::replace_document(), ChertWritableDatabase::replace_document(), and BrassWritableDatabase::replace_document().
| 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().