xapian-core
1.4.27
|
#include <config.h>
#include "chert_database.h"
#include "xapian/constants.h"
#include "xapian/error.h"
#include "xapian/valueiterator.h"
#include "backends/contiguousalldocspostlist.h"
#include "chert_alldocsmodifiedpostlist.h"
#include "chert_alldocspostlist.h"
#include "chert_alltermslist.h"
#include "chert_replicate_internal.h"
#include "chert_document.h"
#include "../flint_lock.h"
#include "chert_metadata.h"
#include "chert_modifiedpostlist.h"
#include "chert_positionlist.h"
#include "chert_postlist.h"
#include "chert_record.h"
#include "chert_spellingwordslist.h"
#include "chert_termlist.h"
#include "chert_valuelist.h"
#include "chert_values.h"
#include "debuglog.h"
#include "fd.h"
#include "io_utils.h"
#include "pack.h"
#include "posixy_wrapper.h"
#include "net/remoteconnection.h"
#include "replicate_utils.h"
#include "api/replication.h"
#include "replicationprotocol.h"
#include "net/length.h"
#include "str.h"
#include "stringutils.h"
#include "backends/valuestats.h"
#include "safesysstat.h"
#include <sys/types.h>
#include <algorithm>
#include "autoptr.h"
#include <cerrno>
#include <cstdlib>
#include <string>
Go to the source code of this file.
Macros | |
#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. More... | |
#define MAX_SAFE_TERM_LENGTH 245 |
Definition at line 91 of file chert_database.cc.
Referenced by ChertWritableDatabase::add_document_(), and ChertWritableDatabase::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 99 of file chert_database.cc.
Referenced by ChertDatabase::open_tables_consistent().