Alec Grieser
e31a7ff354
Merge branch 'release-5.0'
2017-08-24 17:07:35 -07:00
Alec Grieser
45ade048c4
use apple internal repos for node stuff
2017-08-24 16:30:39 -07:00
A.J. Beamon
45c0585891
Merge branch 'release-5.0'
2017-08-24 14:48:47 -07:00
Alec Grieser
63c2636ce5
Merge pull request #146 from cie/circus-retry-on-ssh-connection-closed
...
Retry SSH connections on connection failure
2017-08-24 14:23:08 -07:00
Alvin Moore
0c1be7537c
Fixed OSX compilation warning about printf field value specification
2017-08-24 12:30:38 -07:00
A.J. Beamon
0d394a21fa
Merge branch 'release-5.0'
2017-08-24 10:48:52 -07:00
Evan Tschannen
26a5b5e422
rollback workload now clogs the communication between one of the proxies and the tlogs, since that is what will cause a rollback
2017-08-23 16:08:13 -07:00
Alec Grieser
b8c0b0e13f
Merge branch 'release-5.0'
2017-08-23 15:53:58 -07:00
A.J. Beamon
4c706d33e9
Merge branch 'release-5.0'
2017-08-23 14:59:43 -07:00
Evan Tschannen
be941b4bd1
sending void to committed could cause self to be deleted, so call cleanup before sending
2017-08-23 13:56:18 -07:00
Alvin Moore
7729f663e9
Ensured that the circus id is always lowercase
2017-08-23 13:45:00 -07:00
Evan Tschannen
f9308b8fa6
Merge pull request #145 from cie/alexmiller/simrefactor
...
Refactor simulation to pull all configuration parameters into one struct.
2017-08-23 12:54:21 -07:00
Evan Tschannen
4b40f817f1
fix: is recovery is cancelled before the copy is complete, remove the tlog
2017-08-23 12:26:03 -07:00
Alec Grieser
2b678f6e91
Merge remote-tracking branch 'origin/release-5.0'
2017-08-23 10:24:23 -07:00
Alvin Moore
17c6392295
Added support for printing out information on the current simulation workers
2017-08-22 16:56:33 -07:00
Alvin Moore
8056b78414
Merge branch 'release-5.0'
2017-08-22 13:51:19 -07:00
Alvin Moore
814e471689
Added support for displaying initial workers via printf within simulation using a workload
2017-08-22 13:38:24 -07:00
Stephen Atherton
0b817f95f2
Bug fixes, but there’s still an issue with crossing page boundaries at the same key.
2017-08-22 11:30:44 -07:00
Alex Miller
7b78035365
Have SimulationConfig wrap DatabaseConfiguration to reduce code duplication.
...
This effectively turns initializing SimulationConfig into the equivalent of
building a config string and calling buildConfiguration on it.
2017-08-22 10:13:57 -07:00
A.J. Beamon
ae56d8e111
Merge pull request #142 from cie/alexmiller/clicrash
...
Make fdbcli gracefully handle malformed and partial command errors.
2017-08-22 09:05:47 -07:00
Alex Miller
9b25c72971
Pull database config and cluster config into one struct.
...
This will allow us to specify custom situations to be chosen more frequently,
and in particular control machines and processes.
2017-08-21 22:35:44 -07:00
Stephen Atherton
aff31b7f36
Checkpointing. Clears almost work, but two edge cases aren’t handled correctly yet involving range clears that must cross leaf page boundaries.
2017-08-21 22:29:57 -07:00
Alex Miller
0c7fd0a23d
Unify and clarify interactive and --exec command error and parse error handling.
...
Previously, interactive execution and --exec used two models for how a failed
command would impact other commands in the execution.
As an example, consider:
fdb> set foo bar ; set bar f\00 ; set baz foo
In interactive mode, this had the effect of {foo=bar, baz=foo}.
In --exec mode, this had the effect of {foo=bar}.
With this change, both now have the effect of {foo=bar}. This is achieved by
prefixing the last parsed command, which is the one that had the error, with a
fake "parse_error" token.
The execution of this would now look like:
ERROR: malformed escape sequence
>>> set foo bar
ERROR: Command failed to completely parse.
ERROR: Not running partial or malformed command: set bar
Which indicates how much execution occurred and where it halted, identically in
both modes of execution.
2017-08-21 13:42:01 -07:00
Alec Grieser
e94a1966c9
Merge branch 'release-5.0'
2017-08-17 11:29:45 -07:00
Alec Grieser
93cecd918f
Merge branch 'release-5.0'
2017-08-16 13:28:16 -07:00
John Brownlee
48cddbe047
Merge remote-tracking branch 'origin/release-5.0'
2017-08-16 09:24:19 -07:00
Alex Miller
d78b29625c
Make fdbcli gracefully handle malformed and partial command errors.
...
Previously, running a command like `set \xffx\02abcded/` would cause a crash.
The `x\02` is a malformed typo of `\x02`, and the previously existing code to
handle this case looks like
loop {
err = parse_command
if (err) continue;
// do things
}
Thus, if we hit an error, we'd go back to the top of the loop, and try again.
This should be an infinite loop. However, the actor compiler implementation of
loops involves function calls, so this actually turns into a series of the loop
head calling the loop body calling the loop head calling ... and we eventually
crash due to running out of stack.
This is now fixed by simply letting the code continue on to the check later
that does
if (there was an error) {
print nasty message
return error
}
With output that looks like
ERROR: malformed escape sequence
WARNING: the previous command failed, the remaining commands will not be executed.
And therefore the world becomes a happy place.
2017-08-15 17:49:39 -07:00
Alec Grieser
5ee07b1a9e
Merge branch 'release-5.0'
2017-08-14 16:56:58 -07:00
John Brownlee
448fccbdaf
Merge pull request #140 from cie/remove-wd40-refs
...
Remove wd40 refs
2017-08-14 10:22:52 -07:00
John Brownlee
62990fd8a4
Merge pull request #139 from cie/exclusion-free-space-calc
...
change exclusions so that they calculate free space based on storage …
2017-08-14 10:18:24 -07:00
Evan Tschannen
de1b590a8a
The TLog did not delete data from removed logs
...
The TLog continued to make data from removed logs persistent
2017-08-11 18:08:09 -07:00
John King
f6d282e66a
change exclusions so that they calculate free space based on storage servers only
2017-08-11 17:20:28 -07:00
Stephen Atherton
50fb44be92
Merge branch 'release-5.0'
...
# Conflicts:
# versions.target
2017-08-09 23:36:12 -07:00
Stephen Atherton
8cd43692bf
Update versions.target for next release.
2017-08-09 23:34:14 -07:00
Stephen Atherton
4b8e2adb8e
Updated WIX Installer GUID.
2017-08-09 23:24:05 -07:00
Stephen Atherton
95cd5dc3a2
Updated installer package GUID, updated docs for 5.0.3.
2017-08-09 22:29:02 -07:00
Evan Tschannen
2335fc73f2
fix: peek cursors were being timed out every 10 minutes, instead of 10 minutes after the last use
...
fix: if an interface is changed while we are not waiting in getMore, we will not reset the sequence to 0.
2017-08-09 15:58:06 -07:00
A.J. Beamon
f8be643662
Merge branch 'release-5.0'
2017-08-09 15:30:43 -07:00
A.J. Beamon
29a38d1a51
Add warning that the slow task profiling network option is not recommended for use in production.
2017-08-09 14:39:05 -07:00
A.J. Beamon
2c3920c7b3
Merge branch 'release-5.0' of github.com:apple/foundationdb into release-5.0
2017-08-09 14:36:34 -07:00
A.J. Beamon
853a98053c
Move some memory related activities outside of the timed block
2017-08-09 14:36:19 -07:00
Alec Grieser
677cf10168
Merge branch 'release-5.0'
2017-08-09 12:00:52 -07:00
Alec Grieser
d608152069
fdbversion -> 5.0.3 after downgrade to 5.0.2 for docs publish
2017-08-09 11:59:20 -07:00
Alec Grieser
a576b9c8a8
Merge branch 'release-5.0' of github.com:apple/foundationdb into release-5.0
2017-08-09 11:40:45 -07:00
Alec Grieser
9df8c266e9
fix docs links for 5.0.2
2017-08-09 11:40:42 -07:00
A.J. Beamon
cf1d65f5fd
Merge branch 'release-5.0'
2017-08-09 10:52:10 -07:00
A.J. Beamon
9ce8d3ae4f
Merge branch 'release-5.0'
2017-08-09 10:37:43 -07:00
Yichi Chiang
aac82074af
Avoid calling setCachedLocation twice
2017-08-08 10:03:04 -07:00
A.J. Beamon
5a8cd34224
Disable profiling if we aren't using the cached dl_iterate_phdr values.
2017-08-08 09:03:04 -07:00
Balachandar Namasivayam
e767860010
Addressed review comments.
...
Changed current protocol version to match master
Added operation details for operations that failed.
2017-08-07 18:45:42 -07:00