8000 Feature/dismantle mmfiles by jsteemann · Pull Request #11354 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c38bc04
initial commit
jsteemann Mar 30, 2020
684aaed
bugfixes
jsteemann Mar 30, 2020
cb21cc1
fixes
jsteemann Mar 30, 2020
121f756
fixes
jsteemann Mar 30, 2020
f7b13ce
simplified APIs
jsteemann Mar 30, 2020
34500dc
Merge branch 'devel' of github.com:arangodb/arangodb into feature/dis…
jsteemann Mar 30, 2020
f9df2dc
fixes
jsteemann Mar 30, 2020
d57c0c2
simplify API
jsteemann Mar 30, 2020
ce00907
simplification
jsteemann Mar 30, 2020
174a404
re-add obsoleted mmfiles options
jsteemann Mar 31, 2020
3d8fd52
Merge branch 'devel' of github.com:arangodb/arangodb into feature/dis…
jsteemann Mar 31, 2020
452dc49
fix unittests
jsteemann Mar 31, 2020
370ad29
remove dfdb docs
jsteemann Mar 31, 2020 8000
9eb6573
remove reference to arango_mmfiles library
jsteemann Mar 31, 2020
c1418d2
remove more API clutter
jsteemann Mar 31, 2020
bc14239
Merge branch 'devel' of github.com:arangodb/arangodb into feature/dis…
jsteemann Mar 31, 2020
3b3b45b
fix compilation of tests
jsteemann Mar 31, 2020
a7f7fb4
fix upgrade-data tests
jsteemann Mar 31, 2020
96dbaf2
remove now-unused FileId
jsteemann Mar 31, 2020
661b06d
honor code review suggestions
jsteemann Apr 1, 2020
39ba2f0
honor code review comments
jsteemann Apr 1, 2020
d42b527
Merge branch 'devel' of github.com:arangodb/arangodb into feature/dis…
jsteemann Apr 1, 2020
4b57223
honor review comments
jsteemann Apr 1, 2020
04a1426
Merge branch 'devel' of github.com:arangodb/arangodb into feature/dis…
jsteemann Apr 1, 2020
247146b
remove obsolete friend declaration
jsteemann Apr 1, 2020
265786f
add MMFiles removal to CHANGELOG
jsteemann Apr 1, 2020
5079c59
added dfdb exception
jsteemann Apr 1, 2020
d4935f7
Rebuild UI
KVS85 Apr 1, 2020
5f7f5f8
remove unused hints
jsteemann Apr 2, 2020
f91a467
remove more transaction hints
jsteemann Apr 2, 2020
770e71d
Merge branch 'devel' of github.com:arangodb/arangodb into feature/dis…
jsteemann Apr 2, 2020
ef16f6a
Merge branch 'feature/dismantle-mmfiles' of github.com:arangodb/arang…
jsteemann Apr 2, 2020
e643e94
Merge branch 'devel' into feature/dismantle-mmfiles
jsteemann Apr 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
re-add obsoleted mmfiles options
  • Loading branch information
jsteemann committed Mar 31, 2020
commit 174a404a6a56f5517ca141ebeaa63149b47ab0f0
40 changes: 31 additions & 9 deletions arangod/RestServer/ServerFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,26 +84,48 @@ void ServerFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
new BooleanParameter(&_restServer),
arangodb::options::makeDefaultFlags(arangodb::options::Flags::Hidden));

options->addObsoleteOption(
"--server.session-timeout",
"timeout of web interface server sessions (in seconds)", true);

options->addSection("javascript", "Configure the JavaScript engine");

options->addOption("--javascript.script", "run scripts and exit",
new VectorParameter<StringParameter>(&_scripts));

options->addSection("vst", "Configure the VelocyStream protocol");

options->addObsoleteOption("--vst.maxsize", "maximal size (in bytes) "
"for a VelocyPack chunk", true);

#if _WIN32
options->addOption("--console.code-page",
"Windows code page to use; defaults to UTF8",
new UInt16Parameter(&_codePage),
arangodb::options::makeDefaultFlags(arangodb::options::Flags::Hidden));
#endif

// add several obsoleted options here
options->addSection("vst", "Configure the VelocyStream protocol");
options->addObsoleteOption("--vst.maxsize", "maximal size (in bytes) "
"for a VelocyPack chunk", true);

options->addObsoleteOption(
"--server.session-timeout",
"timeout of web interface server sessions (in seconds)", true);


// add obsolete MMFiles WAL options
options->addSection("wal", "Configure the WAL of the MMFiles engine");
options->addObsoleteOption("--wal.allow-oversize-entries",
"allow entries that are bigger than '--wal.logfile-size'", false);
options->addObsoleteOption("--wal.use-mlock",
"mlock WAL logfiles in memory (may require elevated privileges or limits)", false);
options->addObsoleteOption("--wal.directory", "logfile directory", true);
options->addObsoleteOption("--wal.historic-logfiles", "maximum number of historic logfiles to keep after collection", true);
options->addObsoleteOption("--wal.ignore-logfile-errors",
"ignore logfile errors. this will read recoverable data from corrupted logfiles but ignore any unrecoverable data", false);
options->addObsoleteOption("--wal.ignore-recovery-errors", "continue recovery even if re-applying operations fails", false);
options->addObsoleteOption("--wal.flush-timeout", "flush timeout (in milliseconds)", true);
options->addObsoleteOption("--wal.logfile-size", "size of each logfile (in bytes)", true);
options->addObsoleteOption("--wal.open-logfiles", "maximum number of parallel open logfiles", true);
options->addObsoleteOption("--wal.reserve-logfiles", "maximum number of reserve logfiles to maintain", true);
options->addObsoleteOption("--wal.slots", "number of logfile slots to use", true);
options->addObsoleteOption("--wal.sync-interval", "interval for automatic, non-requested disk syncs (in milliseconds)", true);
options->addObsoleteOption("--wal.throttle-when-pending",
"throttle writes when at least this many operations are waiting for collection (set to 0 to deactivate write-throttling)", true);
options->addObsoleteOption("--wal.throttle-wait", "maximum wait time per operation when write-throttled (in milliseconds)", true);
}

void ServerFeature::validateOptions(std::shared_ptr<ProgramOptions> options) {
Expand Down
0