Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling errors #11258

Draft
wants to merge 274 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
60abff0
spelling: before
jsoref Mar 19, 2024
edf508c
spelling: blobbified
jsoref Mar 19, 2024
4626699
spelling: blurb
jsoref Mar 19, 2024
14cb28c
spelling: boundaries
jsoref Mar 20, 2024
27ba6fe
spelling: boundary
jsoref Mar 19, 2024
d611bb2
spelling: broken
jsoref Mar 20, 2024
9acb078
spelling: buggify
jsoref Mar 19, 2024
0bfb531
spelling: cannot
jsoref Mar 19, 2024
0271adc
spelling: capacity
jsoref Mar 19, 2024
91c33df
spelling: case-insensitive
jsoref Mar 19, 2024
cfc0212
spelling: case-sensitive
jsoref Mar 19, 2024
d6e6087
spelling: causing
jsoref Mar 19, 2024
5f1545a
spelling: changing
jsoref Mar 19, 2024
325d17b
spelling: checker
jsoref Mar 19, 2024
ac7283a
spelling: checkpoint
jsoref Mar 19, 2024
2d1d5e6
spelling: checksum
jsoref Mar 19, 2024
e1c6ac1
spelling: children
jsoref Mar 19, 2024
aa3a750
spelling: cipher
jsoref Mar 19, 2024
7507648
spelling: cluster
jsoref Mar 19, 2024
a63c282
spelling: coinciding
jsoref Mar 19, 2024
cbd9946
spelling: column
jsoref Mar 19, 2024
4814852
spelling: command
jsoref Mar 19, 2024
cabd8de
spelling: committed
jsoref Mar 19, 2024
30c9d51
spelling: compacting
jsoref Mar 19, 2024
48b4e17
spelling: compatible
jsoref Mar 19, 2024
8e8c2be
spelling: complains
jsoref Mar 19, 2024
d659be7
spelling: completion
jsoref Mar 19, 2024
b300107
spelling: compression
jsoref Mar 19, 2024
690da6e
spelling: config
jsoref Mar 19, 2024
f8d544b
spelling: connection
jsoref Mar 19, 2024
e6590e5
spelling: consistency
jsoref Mar 19, 2024
75a0c4f
spelling: constructor
jsoref Mar 19, 2024
3602d2c
spelling: contents
jsoref Mar 19, 2024
20b6daf
spelling: continuation
jsoref Mar 20, 2024
d0da570
spelling: continuous
jsoref Mar 19, 2024
0525dca
spelling: coordinator
jsoref Mar 19, 2024
4299932
spelling: correct
jsoref Mar 19, 2024
b06f19e
spelling: correctly
jsoref Mar 19, 2024
fa9757f
spelling: create
jsoref Mar 19, 2024
15998de
spelling: credentials
jsoref Mar 19, 2024
be8f0cb
spelling: cumulative
jsoref Mar 19, 2024
5e158ba
spelling: current
jsoref Mar 19, 2024
fea36e0
spelling: data distributor
jsoref Mar 20, 2024
494a352
spelling: declaration
jsoref Mar 19, 2024
a3c9509
spelling: decrypted
jsoref Mar 20, 2024
444f0e0
spelling: default
jsoref Mar 19, 2024
5982fc0
spelling: dependent
jsoref Mar 19, 2024
b30e192
spelling: depending
jsoref Mar 19, 2024
1dc5c2a
spelling: descending
jsoref Mar 20, 2024
b6c510d
spelling: descriptor
jsoref Mar 19, 2024
a7c5e27
spelling: desired
jsoref Mar 19, 2024
634b0e8
spelling: deterministic
jsoref Mar 19, 2024
078f59f
spelling: directory
jsoref Mar 19, 2024
7db0fc4
spelling: dispatch
jsoref Mar 19, 2024
402f394
spelling: distribution
jsoref Mar 19, 2024
53dfe86
spelling: diverged
jsoref Mar 19, 2024
6448f23
spelling: dropped
jsoref Mar 20, 2024
f3b38d0
spelling: duration
jsoref Mar 19, 2024
bf14b60
spelling: earlier
jsoref Mar 19, 2024
cabf1b3
spelling: effectiveness
jsoref Mar 19, 2024
a78084e
spelling: eligibility
jsoref Mar 19, 2024
cebf459
spelling: empty
jsoref Mar 19, 2024
ab67a17
spelling: enacted
jsoref Mar 19, 2024
cd7f387
spelling: encrypted
jsoref Mar 19, 2024
2e26ba4
spelling: encryption
jsoref Mar 19, 2024
a79873a
spelling: endianness
jsoref Mar 19, 2024
0272b18
spelling: enforce
jsoref Mar 19, 2024
8496c7e
spelling: equivalent
jsoref Mar 19, 2024
a6b3bdc
spelling: error
jsoref Mar 19, 2024
10d9a3a
spelling: eventually
jsoref Mar 19, 2024
5fc9f1f
spelling: exception
jsoref Mar 19, 2024
e51ee45
spelling: exceptionally
jsoref Mar 19, 2024
d540716
spelling: exclusion
jsoref Mar 19, 2024
16fe92e
spelling: exclusions
jsoref Mar 19, 2024
bbcc5e2
spelling: external
jsoref Mar 20, 2024
9557ad1
spelling: failure
jsoref Mar 19, 2024
39e69cd
spelling: family
jsoref Mar 19, 2024
088657a
spelling: fastest
jsoref Mar 19, 2024
5569de0
spelling: figure
jsoref Mar 19, 2024
4a4c19f
spelling: finalization
jsoref Mar 19, 2024
5e1eeac
spelling: fixme
jsoref Mar 19, 2024
f9957a1
spelling: flaky
jsoref Mar 19, 2024
0228617
spelling: foundation
jsoref Mar 19, 2024
74afe5a
spelling: fulfill
jsoref Mar 19, 2024
cca64b6
spelling: function
jsoref Mar 19, 2024
56ba9a8
spelling: functionality
jsoref Mar 19, 2024
00c639f
spelling: generation
jsoref Mar 19, 2024
7dd681a
spelling: github
jsoref Mar 19, 2024
e802684
spelling: gradually
jsoref Mar 19, 2024
bca1ae1
spelling: granules
jsoref Mar 19, 2024
be8dba2
spelling: greater
jsoref Mar 19, 2024
aa98876
spelling: guarantee
jsoref Mar 19, 2024
572fee2
spelling: guarantees
jsoref Mar 19, 2024
2d1e347
spelling: have
jsoref Mar 19, 2024
944936b
spelling: header
jsoref Mar 19, 2024
8589f01
spelling: healthiness
jsoref Mar 19, 2024
b0c1c14
spelling: here
jsoref Mar 19, 2024
8a8731b
spelling: histogram
jsoref Mar 19, 2024
c46a463
spelling: identification
jsoref Mar 19, 2024
2f98f58
spelling: ignore
jsoref Mar 19, 2024
872f7a9
spelling: incremental
jsoref Mar 19, 2024
9da3ecc
spelling: increments
jsoref Mar 19, 2024
957201b
spelling: indefinitely
jsoref Mar 19, 2024
b78e04d
spelling: indices
jsoref Mar 19, 2024
c7acda6
spelling: infrastructure
jsoref Mar 19, 2024
0ed0906
spelling: initial
jsoref Mar 19, 2024
5e0a129
spelling: initialize
jsoref Mar 19, 2024
59d7371
spelling: instead
jsoref Mar 19, 2024
9d8242d
spelling: integer
jsoref Mar 19, 2024
e0b89a8
spelling: integrity
jsoref Mar 19, 2024
b9e0490
spelling: interval
jsoref Mar 19, 2024
cc59667
spelling: into
jsoref Mar 19, 2024
92720b9
spelling: intrusive
jsoref Mar 19, 2024
e8558da
spelling: is
jsoref Mar 19, 2024
f125be8
spelling: iterate
jsoref Mar 19, 2024
90318c5
spelling: its
jsoref Mar 19, 2024
5835ae8
spelling: knowing
jsoref Mar 20, 2024
b20c166
spelling: library
jsoref Mar 20, 2024
dc983dd
spelling: localities
jsoref Mar 20, 2024
7f80422
spelling: locality
jsoref Mar 20, 2024
b16dbad
spelling: localityvalue
jsoref Mar 20, 2024
63c4aa3
spelling: looked up
jsoref Mar 20, 2024
b394604
spelling: lookups
jsoref Mar 20, 2024
1333db2
spelling: machine
jsoref Mar 20, 2024
b2e7a3b
spelling: macos
jsoref Mar 19, 2024
f06fb14
spelling: make
jsoref Mar 20, 2024
d70eda6
spelling: manifest
jsoref Mar 20, 2024
a13c2f7
spelling: mapping
jsoref Mar 20, 2024
49b3eb4
spelling: message
jsoref Mar 20, 2024
d8e331d
spelling: metadata
jsoref Mar 20, 2024
0532954
spelling: micros
jsoref Mar 20, 2024
9217208
spelling: miscellaneous
jsoref Mar 20, 2024
81033fb
spelling: mismatch
jsoref Mar 20, 2024
4719124
spelling: monotonically
jsoref Mar 20, 2024
2fc1c4a
spelling: mutation
jsoref Mar 20, 2024
bee7e0c
spelling: mutations
jsoref Mar 20, 2024
e3509e5
spelling: necessarily
jsoref Mar 20, 2024
5fdaaf6
spelling: nonexistent
jsoref Mar 19, 2024
f53e3c9
spelling: occurred
jsoref Mar 20, 2024
5a1b13e
spelling: occurrence
jsoref Mar 20, 2024
2e65659
spelling: ongoing
jsoref Mar 20, 2024
5aff01e
spelling: operations
jsoref Mar 20, 2024
05bbafa
spelling: or
jsoref Mar 19, 2024
3de8aab
spelling: outstanding
jsoref Mar 20, 2024
e2bd7da
spelling: overridden
jsoref Mar 20, 2024
4fb72a9
spelling: overwriting
jsoref Mar 20, 2024
58b0ed4
spelling: page
jsoref Mar 19, 2024
3df72a5
spelling: pairwise
jsoref Mar 20, 2024
c6c9977
spelling: parameter
jsoref Mar 20, 2024
0b1029e
spelling: parents
jsoref Mar 20, 2024
a6ae5c5
spelling: participate
jsoref Mar 20, 2024
2ddc056
spelling: passphrase
jsoref Mar 20, 2024
3fe658a
spelling: performance
jsoref Mar 20, 2024
cc1e5d6
spelling: periodically
jsoref Mar 20, 2024
c0f5883
spelling: perpetual
jsoref Mar 20, 2024
5c9021d
spelling: persist
jsoref Mar 20, 2024
d41fe57
spelling: persisted
jsoref Mar 20, 2024
3f41302
spelling: physical
jsoref Mar 20, 2024
49e2af3
spelling: placeholder
jsoref Mar 20, 2024
01a927c
spelling: popped
jsoref Mar 20, 2024
08a268c
spelling: posting
jsoref Mar 20, 2024
4503b9b
spelling: predecessor
jsoref Mar 20, 2024
44f30d0
spelling: preemptively
jsoref Mar 19, 2024
f56a569
spelling: preexisting
jsoref Mar 19, 2024
b21df06
spelling: primary
jsoref Mar 20, 2024
01af21d
spelling: probabilistically
jsoref Mar 20, 2024
30ed9fc
spelling: processes
jsoref Mar 20, 2024
993a762
spelling: profiling
jsoref Mar 20, 2024
da75990
spelling: progress
jsoref Mar 20, 2024
ec0a2b0
spelling: proposed
jsoref Mar 20, 2024
d724aee
spelling: protocol
jsoref Mar 20, 2024
82618b6
spelling: quiescence
jsoref Mar 20, 2024
f579693
spelling: random
jsoref Mar 20, 2024
a30d72a
spelling: range
jsoref Mar 19, 2024
5c42479
spelling: reader
jsoref Mar 20, 2024
6b42e42
spelling: reason
jsoref Mar 20, 2024
e3d140d
spelling: rebalance
jsoref Mar 20, 2024
d94f66d
spelling: receives
jsoref Mar 19, 2024
63995a4
spelling: recruit
jsoref Mar 20, 2024
dfe559e
spelling: recruitment
jsoref Mar 20, 2024
435da03
spelling: reentrant
jsoref Mar 19, 2024
e943ff2
spelling: reference
jsoref Mar 20, 2024
fbde03e
spelling: relocations
jsoref Mar 20, 2024
be3e824
spelling: replacing
jsoref Mar 20, 2024
91fa22f
spelling: representing
jsoref Mar 19, 2024
d92d50b
spelling: request
jsoref Mar 19, 2024
b0a58fc
spelling: required
jsoref Mar 20, 2024
b5a3bb5
spelling: resource
jsoref Mar 20, 2024
e0f3ea7
spelling: response
jsoref Mar 20, 2024
66ccf2f
spelling: responses
jsoref Mar 20, 2024
00df45d
spelling: rocks
jsoref Mar 20, 2024
0d07750
spelling: rocksdb
jsoref Mar 20, 2024
af0ed54
spelling: sample
jsoref Mar 20, 2024
f1573d5
spelling: sanitizer
jsoref Mar 20, 2024
f49acdc
spelling: seconds
jsoref Mar 20, 2024
79b3a1d
spelling: secure
jsoref Mar 20, 2024
4f1e087
spelling: send
jsoref Mar 19, 2024
64d1261
spelling: serializer
jsoref Mar 20, 2024
10c2681
spelling: should
jsoref Mar 19, 2024
a8099a5
spelling: simpler
jsoref Mar 20, 2024
76153cb
spelling: simulation
jsoref Mar 20, 2024
02802ac
spelling: simultaneously
jsoref Mar 20, 2024
da1da6f
spelling: starvation
jsoref Mar 20, 2024
1c2646d
spelling: stuck
jsoref Mar 20, 2024
f2e9231
spelling: subscription
jsoref Mar 20, 2024
77f276d
spelling: subspace
jsoref Mar 20, 2024
2c2f204
spelling: succeed
jsoref Mar 20, 2024
a55fa06
spelling: successfully
jsoref Mar 20, 2024
3fc5667
spelling: superset
jsoref Mar 20, 2024
40f19f3
spelling: supported
jsoref Mar 20, 2024
f86a4bd
spelling: swift
jsoref Mar 20, 2024
b4514b2
spelling: tenant
jsoref Mar 20, 2024
4fb4655
spelling: terabytes
jsoref Mar 20, 2024
436bb65
spelling: than
jsoref Mar 19, 2024
c13db6d
spelling: the
jsoref Mar 19, 2024
7485fab
spelling: them
jsoref Mar 20, 2024
3447d64
spelling: themselves
jsoref Mar 20, 2024
cf81425
spelling: there
jsoref Mar 19, 2024
f6b40a1
spelling: throughput
jsoref Mar 20, 2024
66cbd1d
spelling: timestamp
jsoref Mar 20, 2024
38fb528
spelling: total
jsoref Mar 20, 2024
35f36b4
spelling: transaction
jsoref Mar 20, 2024
ad1a11e
spelling: trimmed
jsoref Mar 20, 2024
c77542c
spelling: truncation
jsoref Mar 20, 2024
09a5209
spelling: type
jsoref Mar 19, 2024
f9b4a3a
spelling: unescaped
jsoref Mar 20, 2024
9ed0b12
spelling: unlimited
jsoref Mar 20, 2024
a47e7d3
spelling: unparseable
jsoref Mar 20, 2024
5db260a
spelling: unrecognize
jsoref Mar 20, 2024
8cb040f
spelling: unretryable
jsoref Mar 20, 2024
c5d0fd0
spelling: unstructured
jsoref Mar 20, 2024
c74fcaf
spelling: unsuccessful
jsoref Mar 20, 2024
5fa16ae
spelling: until
jsoref Mar 20, 2024
4ae16a9
spelling: update
jsoref Mar 19, 2024
e47ade1
spelling: use
jsoref Mar 19, 2024
8dbc641
spelling: using
jsoref Mar 19, 2024
99f06bf
spelling: validate
jsoref Mar 20, 2024
dd059d2
spelling: various
jsoref Mar 20, 2024
1f0ae6a
spelling: verifying
jsoref Mar 20, 2024
ae4f2d3
spelling: version
jsoref Mar 19, 2024
e2a06a6
spelling: versions
jsoref Mar 20, 2024
a380e24
spelling: versionstamp
jsoref Mar 20, 2024
18aca3a
spelling: versionstamped
jsoref Mar 20, 2024
176b3d2
spelling: vexillographer
jsoref Mar 20, 2024
091e044
spelling: where
jsoref Mar 19, 2024
8e2c0dd
spelling: will
jsoref Mar 19, 2024
c458baa
spelling: with
jsoref Mar 19, 2024
ad571af
spelling: workaround
jsoref Mar 19, 2024
56af2c0
spelling: workload
jsoref Mar 20, 2024
bebac83
spelling: would
jsoref Mar 19, 2024
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
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ else()
set(FDB_VERSION ${PROJECT_VERSION})
endif()
if (NOT FDB_RELEASE)
string(TIMESTAMP FDB_BUILD_TIMESTMAP %Y%m%d%H%M%S)
string(TIMESTAMP FDB_BUILD_TIMESTAMP %Y%m%d%H%M%S)
# Adding support to pass custom fdb_build timestamp,
# required to achieve uniform naming across different builds
set(FDB_BUILDTIME "${FDB_BUILD_TIMESTMAP}" CACHE STRING "A timestamp for packages")
set(FDB_BUILDTIME "${FDB_BUILD_TIMESTAMP}" CACHE STRING "A timestamp for packages")
set(FDB_BUILDTIME_STRING ".${FDB_BUILDTIME}")
set(PRERELEASE_TAG "prerelease")
endif()
Expand Down Expand Up @@ -144,7 +144,7 @@ include(CompileCoverageTool)
include(FlowCommands)

################################################################################
# Vexilographer
# Vexillographer
################################################################################

include(CompileVexillographer)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ cpack -G DEB

For RPM simply replace `DEB` with `RPM`.

### MacOS
### macOS

The build under MacOS will work the same way as on Linux. To get boost and ninja you can use [Homebrew](https://brew.sh/).
The build under macOS will work the same way as on Linux. To get boost and ninja you can use [Homebrew](https://brew.sh/).

```sh
cmake -G Ninja <PATH_TO_FOUNDATIONDB_SOURCE>
Expand Down
2 changes: 1 addition & 1 deletion SWIFT_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The integration works "both ways", i.e. Swift can call into Flow/C++ code, as we

Swift generates clang modules which can be consumed in C++. For example, the module `fdbserver_swift` contains all swift code in `fdbserver/`.

> Note: you can check, and add new files to the `_swift` targets by locating the command, e.g. `add_library(fdbserver_swft` in [fdbserver/CMakeLists.txt](fdbserver/CMakeLists.txt).
> Note: you can check, and add new files to the `_swift` targets by locating the command, e.g. `add_library(fdbserver_swift` in [fdbserver/CMakeLists.txt](fdbserver/CMakeLists.txt).

Then, you can then include the generated module in C++:

Expand Down
2 changes: 1 addition & 1 deletion SWIFT_IDE_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Note that Swift 5.9 (or higher) is required for the build at the time of writing
You can download Swift toolchains from [https://www.swift.org/download/](https://www.swift.org/download/),
or by using the experimental https://github.com/swift-server/swiftly which simplifies this process.

## VSCode + Cross Compilation (MacOS to Linux)
## VSCode + Cross Compilation (macOS to Linux)

## Host toolchain setup

Expand Down
2 changes: 1 addition & 1 deletion bindings/bindingtester/run_binding_tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ VERSION="1.6"
if [ "${#}" -lt 2 ]
then
echo 'run_binding_tester.sh <number of cycles> <error file>'
echo ' cycles: number of cycles to run test (0 => unlimitted)'
echo ' cycles: number of cycles to run test (0 => unlimited)'
echo ''
echo ' Modifiable Environment Variables:'
echo ' CONCURRENCY: number of concurrent requests'
Expand Down
4 changes: 2 additions & 2 deletions bindings/c/test/apitester/TesterTransactionExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class TransactionContextBase : public ITransactionContext {
return errCode == error_code_no_cluster_file_found || errCode == error_code_connection_string_invalid;
}

// Complete the transaction with an (unretriable) error
// Complete the transaction with an (unretryable) error
void transactionFailed(fdb::Error err) {
ASSERT(err);
std::unique_lock<std::mutex> lock(mutex);
Expand Down Expand Up @@ -701,7 +701,7 @@ class TransactionExecutorBase : public ITransactionExecutor {
originalClusterFile = clusterFile;
this->clusterFile = tamperedClusterFile.getFileName();

// begin with a valid cluster file, but with non existing address
// begin with a valid cluster file, but with nonexistent address
tamperedClusterFile.write(fmt::format("{}:{}@192.168.{}.{}:{}",
Random().get().randomStringLowerCase<std::string>(3, 8),
Random().get().randomStringLowerCase<std::string>(1, 100),
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/test/fdb_c_client_config_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def test_no_external_client_support_api_version_ignore(self):
test.exec()

def test_one_external_client_wrong_api_version(self):
# Multiple external clients, API version unsupported by one of othem
# Multiple external clients, API version unsupported by one of them
test = ClientConfigTest(self)
test.create_external_lib_dir(
[CURRENT_VERSION, PREV_RELEASE_VERSION, PREV2_RELEASE_VERSION]
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/test/mako/async.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ void ResumableStateForRunWorkload::onIterationEnd(FutureRC rc) {

void ResumableStateForRunWorkload::updateErrorStats(fdb::Error err, int op) {
if (err) {
if (err.is(1020 /*not_commited*/)) {
if (err.is(1020 /*not_committed*/)) {
stats.incrConflictCount();
} else if (err.is(1031 /*timeout*/)) {
stats.incrTimeoutCount(op);
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/test/mako/ddsketch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class DDSketchBase {

uint64_t getPopulationSize() const { return populationSize; }

double getErrorGurantee() const { return errorGuarantee; }
double getErrorGuarantee() const { return errorGuarantee; }

DDSketchBase<Impl, T>& mergeWith(const DDSketchBase<Impl, T>& anotherSketch) {
// Must have the same guarantee
Expand Down
4 changes: 2 additions & 2 deletions bindings/c/test/mako/mako.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ int populate(Database db, const ThreadArgs& thread_args, int thread_tps, Workflo

void updateErrorStatsRunMode(WorkflowStatistics& stats, fdb::Error err, int op) {
if (err) {
if (err.is(1020 /*not_commited*/)) {
if (err.is(1020 /*not_committed*/)) {
stats.incrConflictCount();
} else if (err.is(1031 /*timeout*/)) {
stats.incrTimeoutCount(op);
Expand Down Expand Up @@ -2207,7 +2207,7 @@ void printReport(Arguments const& args,
fmt::fprintf(fp, "\"totalErrors\": %lu,", final_worker_stats.getTotalErrorCount());
fmt::fprintf(fp, "\"totalTimeouts\": %lu,", final_worker_stats.getTotalTimeoutCount());
fmt::fprintf(fp, "\"overallTPS\": %lu,", tps_i);
fmt::fprintf(fp, "\"workerProcesseCPU\": %.8f,", cpu_util_worker_processes);
fmt::fprintf(fp, "\"workerProcessesCPU\": %.8f,", cpu_util_worker_processes);
fmt::fprintf(fp, "\"workerThreadCPU\": %.8f,", cpu_util_worker_threads);
fmt::fprintf(fp, "\"localNetworkCPU\": %.8f,", cpu_util_local_fdb_networks);
fmt::fprintf(fp, "\"externalNetworkCPU\": %.8f,", cpu_util_external_fdb_networks);
Expand Down
4 changes: 2 additions & 2 deletions bindings/c/test/mako/mako.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ Format

Transaction Specification Examples
----------------------------------
- | 100 GETs (Non-commited)
- | 100 GETs (Non-committed)
| ``g100``

- | 10 GET RANGE with Range of 50 (Non-commited)
- | 10 GET RANGE with Range of 50 (Non-committed)
| ``gr10:50``

- | 90 GETs and 10 Updates (Committed)
Expand Down
2 changes: 1 addition & 1 deletion bindings/flow/Tuple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ Tuple Tuple::getNested(size_t index) const {
}
}

// The item may shrink because of escaped nulls that are unespaced.
// The item may shrink because of escaped nulls that are unescaped.
return Tuple(dest, dest_offsets);
}

Expand Down
2 changes: 1 addition & 1 deletion bindings/flow/Tuple.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct Tuple {
static const uint8_t TRUE_CODE;
static const uint8_t UUID_CODE;
// Java Tuple layer VERSIONSTAMP has 96 bits(12 bytes).
// It has additional 2 bytes user code than the internal VERSIONTAMP of size 10 bytes
// It has additional 2 bytes user code than the internal VERSIONSTAMP of size 10 bytes
static const uint8_t VERSIONSTAMP_96_CODE;

Tuple(const StringRef& data);
Expand Down
2 changes: 1 addition & 1 deletion bindings/go/src/_stacktester/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (de *DirectoryExtension) processOp(sm *StackMachine, op string, isDB bool,
path := sm.maybePath()
// This ***HAS*** to call Transact to ensure that any directory version
// key set in the process of trying to remove this potentially
// non-existent directory, in the REMOVE but not REMOVE_IF_EXISTS case,
// nonexistent directory, in the REMOVE but not REMOVE_IF_EXISTS case,
// doesn't end up committing the version key. (Other languages have
// separate remove() and remove_if_exists() so don't have this tricky
// issue).
Expand Down
2 changes: 1 addition & 1 deletion bindings/go/src/fdb/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ implemented using only error values:

If either read encounters an error, it will be returned to Transact, which will
determine if the error is retryable or not (using (Transaction).OnError). If the
error is an FDB Error and retryable (such as a conflict with with another
error is an FDB Error and retryable (such as a conflict with another
transaction), then the programmer-provided function will be run again. If the
error is fatal (or not an FDB Error), then the error will be returned to the
caller of Transact.
Expand Down
2 changes: 1 addition & 1 deletion bindings/go/src/fdb/tuple/tuple.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (uuid UUID) String() string {
return fmt.Sprintf("%x-%x-%x-%x-%x", uuid[0:4], uuid[4:6], uuid[6:8], uuid[8:10], uuid[10:])
}

// Versionstamp is struct for a FoundationDB verionstamp. Versionstamps are
// Versionstamp is struct for a FoundationDB versionstamp. Versionstamps are
// 12 bytes long composed of a 10 byte transaction version and a 2 byte user
// version. The transaction version is filled in at commit time and the user
// version is provided by the application to order results within a transaction.
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/JavaWorkload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ struct JavaWorkload final : FDBWorkload {
jvm->shutdownWorkload(workload, name);
jvm->env->DeleteGlobalRef(workload);
} catch (JNIError& e) {
log.trace(error, "JNIShutDownUnsucessful", { { "Error", e.toString() }, { "Location", e.location() } });
log.trace(error, "JNIShutDownUnsuccessful", { { "Error", e.toString() }, { "Location", e.location() } });
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions bindings/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ make packages
#### Multi-Platform Jar-File

If you want to create a jar file that can run on more than one supported
architecture (the official one supports MacOS, Linux, and Windows), you can do
architecture (the official one supports macOS, Linux, and Windows), you can do
that by executing the following steps:

1. Create a directory called `lib` somewhere on your file system.
1. Create a subdirectory for each *additional* platform you want to support
(`windows` for windows, `osx` for MacOS, and `linux` for Linux).
(`windows` for windows, `osx` for macOS, and `linux` for Linux).
1. Under each of those create a subdirectory with the name of the architecture
(currently only `amd64` is supported - on MacOS this has to be called
(currently only `amd64` is supported - on macOS this has to be called
`x86_64` - `amd64` on all others).
1. Set the cmake variable `FAT_JAR_BINARIES` to this `lib` directory. For
example, if you created this directory structure under `/foo/bar`, the
Expand Down
6 changes: 3 additions & 3 deletions bindings/java/fdbJNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ void throwOutOfMem(JNIEnv* jenv) {
}

static jthrowable getThrowable(JNIEnv* jenv, fdb_error_t e, const char* msg = nullptr) {
jclass excepClass = jenv->FindClass("com/apple/foundationdb/FDBException");
jclass exceptionClass = jenv->FindClass("com/apple/foundationdb/FDBException");
if (jenv->ExceptionOccurred())
return JNI_NULL;

jmethodID excepCtor = jenv->GetMethodID(excepClass, "<init>", "(Ljava/lang/String;I)V");
jmethodID exceptionCtor = jenv->GetMethodID(exceptionClass, "<init>", "(Ljava/lang/String;I)V");
if (jenv->ExceptionOccurred())
return JNI_NULL;

Expand All @@ -107,7 +107,7 @@ static jthrowable getThrowable(JNIEnv* jenv, fdb_error_t e, const char* msg = nu
if (jenv->ExceptionOccurred())
return JNI_NULL;

jthrowable t = (jthrowable)jenv->NewObject(excepClass, excepCtor, m, e);
jthrowable t = (jthrowable)jenv->NewObject(exceptionClass, exceptionCtor, m, e);
if (jenv->ExceptionOccurred())
return JNI_NULL;

Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test, do the following:

1. Tag all tests that require multiple clients with `@Tag("MultiClient")`
2. Ensure that your tests have the `MultiClientHelper` extension present, and Registered as an extension
3. Ensure that your test class is in the the JAVA_INTEGRATION_TESTS list in `test.cmake`
3. Ensure that your test class is in the JAVA_INTEGRATION_TESTS list in `test.cmake`

( see `BasicMultiClientIntegrationTest` for a good reference example)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.junit.jupiter.api.extension.ExtendWith;

/**
* Miscellanenous tests for Java-bindings-specific implementation of
* Miscellaneous tests for Java-bindings-specific implementation of
* transactions
*/
@ExtendWith(RequiresDatabase.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@ void testRangeScansWorkWithRowLimit(StreamingMode mode) throws Exception {
for (KeyValue actualKv : kvs) {
if (ByteArrayUtil.compareTo(entry.getKey(), 0, entry.getKey().length, actualKv.getKey(), 0,
actualKv.getKey().length) == 0) {
String erroMsg = String.format("Incorrect value for key '%s'; Expected: <%s>, Actual: <%s>",
String errorMsg = String.format("Incorrect value for key '%s'; Expected: <%s>, Actual: <%s>",
new String(entry.getKey()), new String(entry.getValue()),
new String(actualKv.getValue()));
Assertions.assertEquals(
0,
ByteArrayUtil.compareTo(entry.getValue(), 0, entry.getValue().length,
actualKv.getValue(), 0, actualKv.getValue().length),
erroMsg);
errorMsg);
found = true;
break;
}
Expand Down Expand Up @@ -321,14 +321,14 @@ void testRangeScansWorkWithoutRowLimitReversed(StreamingMode mode) throws Except
for (KeyValue actualKv : kvs) {
if (ByteArrayUtil.compareTo(entry.getKey(), 0, entry.getKey().length, actualKv.getKey(), 0,
actualKv.getKey().length) == 0) {
String erroMsg = String.format("Incorrect value for key '%s'; Expected: <%s>, Actual: <%s>",
String errorMsg = String.format("Incorrect value for key '%s'; Expected: <%s>, Actual: <%s>",
new String(entry.getKey()), new String(entry.getValue()),
new String(actualKv.getValue()));
Assertions.assertEquals(
0,
ByteArrayUtil.compareTo(entry.getValue(), 0, entry.getValue().length,
actualKv.getValue(), 0, actualKv.getValue().length),
erroMsg);
errorMsg);
found = true;
break;
}
Expand Down Expand Up @@ -368,14 +368,14 @@ void testRangeScansWorkWithRowLimitReversed(StreamingMode mode) throws Exception
for (KeyValue actualKv : kvs) {
if (ByteArrayUtil.compareTo(entry.getKey(), 0, entry.getKey().length, actualKv.getKey(), 0,
actualKv.getKey().length) == 0) {
String erroMsg = String.format("Incorrect value for key '%s'; Expected: <%s>, Actual: <%s>",
String errorMsg = String.format("Incorrect value for key '%s'; Expected: <%s>, Actual: <%s>",
new String(entry.getKey()), new String(entry.getValue()),
new String(actualKv.getValue()));
Assertions.assertEquals(
0,
ByteArrayUtil.compareTo(entry.getValue(), 0, entry.getValue().length,
actualKv.getValue(), 0, actualKv.getValue().length),
erroMsg);
errorMsg);
found = true;
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ void replaceWorks() throws Exception {
byte[] expectedResults = arrays.get(i + 3);
byte[] results = ByteArrayUtil.replace(src, pattern, replacement);
String errorMsg = String.format(
"results <%s> did not match expected results <%s> when replaceing <%s> with <%s> in <%s>",
"results <%s> did not match expected results <%s> when replacing <%s> with <%s> in <%s>",
ByteArrayUtil.printable(results), ByteArrayUtil.printable(expectedResults),
ByteArrayUtil.printable(pattern), ByteArrayUtil.printable(replacement), ByteArrayUtil.printable(src));

Expand Down
4 changes: 2 additions & 2 deletions bindings/java/src/main/com/apple/foundationdb/Database.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ <T> CompletableFuture<T> readAsync(
* transaction may be executed twice. For more information about how to reason
* about these situations see
* <a href="/foundationdb/developer-guide.html#transactions-with-unknown-results"
* target="_blank">the FounationDB Developer Guide</a>
* target="_blank">the FoundationDB Developer Guide</a>
*
* @param retryable the block of logic to execute in a {@link Transaction} against
* this database
Expand Down Expand Up @@ -527,7 +527,7 @@ default <T> T run(Function<? super Transaction, T> retryable) {
* transaction may be executed twice. For more information about how to reason
* about these situations see
* <a href="/foundationdb/developer-guide.html#transactions-with-unknown-results"
* target="_blank">the FounationDB Developer Guide</a><br>
* target="_blank">the FoundationDB Developer Guide</a><br>
* <br>
* Any errors encountered executing {@code retryable}, or received from the
* database, will be set on the returned {@code CompletableFuture}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void accept(MappedRangeResultInfo data, Throwable error) {

private synchronized void startNextFetch() {
if (fetchOutstanding)
throw new IllegalStateException("Reentrant call not allowed"); // This can not be called reentrantly
throw new IllegalStateException("Reentrant call not allowed"); // This cannot be called reentrantly
if (isCancelled) return;

if (chunk != null && mainChunkIsTheLast()) return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void accept(RangeResultInfo data, Throwable error) {

private synchronized void startNextFetch() {
if(fetchOutstanding)
throw new IllegalStateException("Reentrant call not allowed"); // This can not be called reentrantly
throw new IllegalStateException("Reentrant call not allowed"); // This cannot be called reentrantly
if(isCancelled)
return;

Expand Down
4 changes: 2 additions & 2 deletions bindings/java/src/main/com/apple/foundationdb/Tenant.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <T> CompletableFuture<T> readAsync(
* transaction may be executed twice. For more information about how to reason
* about these situations see
* <a href="/foundationdb/developer-guide.html#transactions-with-unknown-results"
* target="_blank">the FounationDB Developer Guide</a>
* target="_blank">the FoundationDB Developer Guide</a>
*
* @param retryable the block of logic to execute in a {@link Transaction} against
* this tenant
Expand Down Expand Up @@ -211,7 +211,7 @@ default <T> T run(Function<? super Transaction, T> retryable) {
* transaction may be executed twice. For more information about how to reason
* about these situations see
* <a href="/foundationdb/developer-guide.html#transactions-with-unknown-results"
* target="_blank">the FounationDB Developer Guide</a><br>
* target="_blank">the FoundationDB Developer Guide</a><br>
* <br>
* Any errors encountered executing {@code retryable}, or received from the
* database, will be set on the returned {@code CompletableFuture}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ public static <V, T> CompletableFuture<T> composeHandleAsync(CompletableFuture<V
* function, which requires that the handler return a regular value, this
* method requires that the handler return a {@link CompletableFuture}.
* The returned future will then be ready with the result of the
* handler's future (or an error if that future completes excpetionally).
* handler's future (or an error if that future completes exceptionally).
* The handler will execute on the passed {@link Executor}.
*
* @param future future to compose the handler onto
Expand Down
Loading