Commit Graph

4896 Commits

Author SHA1 Message Date
Meng Xu 092a890da5 FastRestore: Fix MacOS compilation
The bug shown in MacOS compilation may also cause logic error
in the implementation, even in Linux.
2019-04-09 22:37:24 -07:00
Meng Xu f39e8acad4 FastRestore: Fix format mismatch warning in printf 2019-04-09 22:04:32 -07:00
Meng Xu 95102014e8 Fix printf type not match warning 2019-04-09 21:44:05 -07:00
Meng Xu 699c95ea1d FastRestore: Use setWorkerInterface request
Use setWorkerInterface request to trigger each worker to
read all workers interface from DB
2019-04-09 21:07:19 -07:00
Meng Xu 84707e6a50 Change %d to %ld for size() 2019-04-09 15:30:45 -07:00
Meng Xu aac90c81c7 Fix warning on -Wformat 2019-04-09 15:02:45 -07:00
Meng Xu 3ffdd115e7 FastRestore: Mute debug_verbose and fix parkMutationNum 2019-04-09 14:16:09 -07:00
Meng Xu 4e0b01cc10 FastRestore: Initiliaze version batch as a request 2019-04-09 14:10:55 -07:00
Meng Xu 6a86492e6e FastRestore: Remove deprecated RestoreCommand 2019-04-09 13:45:20 -07:00
Meng Xu 18fb2ea99d FastRestore: loaderCore and applierCore for requests
Use loaderCore and applierCore to handle all requests
to loader and applier.
2019-04-09 11:44:56 -07:00
Meng Xu ed0d3c8b57 FastRestore: Add RequestStreams to RestoreInterface 2019-04-05 15:03:23 -07:00
Meng Xu ab82381209 FastRestore: Add various request and restore types 2019-04-05 14:28:56 -07:00
Meng Xu c4a8a80d6f Merge branch 'apple/master' into mengxu/performant-restore-PR 2019-04-04 22:51:00 -07:00
Jingyu Zhou acf60c5e9a
Merge pull request #1414 from jzhou77/pprof
Add manually triggered heap profiling
2019-04-04 22:27:33 -07:00
Meng Xu 69a98d4303 CMake: Add FastRestore test files 2019-04-04 21:38:19 -07:00
Meng Xu 063f8478e9 FastRestore: Fix a compile error 2019-04-04 17:55:42 -07:00
Meng Xu c74bef7601 FastRestore: Use RestoreSetRoleRequest 2019-04-04 17:42:02 -07:00
Meng Xu c0ae406300 FastRestore: Add RestoreSetRoleRequest 2019-04-04 17:14:29 -07:00
Meng Xu 474035d220 FastRestore: Change toString() to mac compatible
Use stringstream to concatenate the strings so that it can compile
in Mac environment.
2019-04-04 15:45:36 -07:00
Jingyu Zhou 5be592632b Change trace event message
If heap profiler is not running, we can't take a snapshot of the profile.
2019-04-04 15:29:50 -07:00
Jingyu Zhou f538df5e6c Add TraceEvent if unable to invoke heap profiler 2019-04-04 15:26:41 -07:00
Meng Xu eb1e880fef FastRestore: Rename RestoreCommandInterface
Rename it to RestoreInterface.
The new name is more general because we will have different type of
RequestStreams for each type of commands.
2019-04-04 13:52:24 -07:00
Alex Miller 8f49be480b
Update fdbserver/worker.actor.cpp
Co-Authored-By: jzhou77 <jingyuzhou@gmail.com>
2019-04-04 13:32:10 -07:00
Jingyu Zhou eaaf58ee34 Refactor profiler into cpu and heap profilers 2019-04-03 20:54:30 -07:00
Alex Miller 433060ef95
Update fdbclient/ClientWorkerInterface.h
Co-Authored-By: jzhou77 <jingyuzhou@gmail.com>
2019-04-03 20:05:19 -07:00
Alex Miller ee7822f032
Merge pull request #1412 from atn34/fix-sandbox-port
Fix port to match sandbox foundationdb.conf
2019-04-03 19:29:51 -07:00
Jingyu Zhou 3371cf22d4 Add manually triggered heap profiling
At client side:
fdb> profile
ERROR: Usage: profile <client|list|flow|heap>
fdb> profile heap 127.0.0.1:4500

On the server side:
$ HEAPPROFILE=/tmp/fdbserver bin/fdbserver -C ../test.cluster -p 127.0.0.1:4500
Starting tracking the heap
FDBD joined cluster.
Dumping heap profile to /tmp/fdbserver.0001.heap (1024 MB allocated cumulatively, 13 MB currently in use)
Dumping heap profile to /tmp/fdbserver.0002.heap (User triggered heap dump)
2019-04-03 16:00:54 -07:00
Alex Miller ee571ac2d8
Merge pull request #1386 from mpilman/features/client-simulator
Implemented JavaWorkload
2019-04-03 14:46:30 -07:00
Andrew Noyes 638978d9bb Fix comment 2019-04-03 13:52:00 -07:00
Andrew Noyes 021224c44d Fix port to match sandbox foundationdb.conf 2019-04-03 13:49:44 -07:00
Markus Pilman 101a05ae77
Merge branch 'master' into features/client-simulator 2019-04-03 10:03:56 -08:00
Jingyu Zhou fc59587b3c
Merge pull request #1393 from jzhou77/pprof
Gperftools Profiling fix.
2019-04-03 10:35:31 -07:00
Evan Tschannen 375955f0f4
Merge pull request #1409 from etschannen/master
Merge 6.1 into master (updated versions.target)
2019-04-02 22:38:28 -07:00
Evan Tschannen 44c3072629 updated versions.target and release notes 2019-04-02 22:36:55 -07:00
Evan Tschannen 39c595223b Merge branch 'release-6.1' 2019-04-02 22:30:02 -07:00
Evan Tschannen dcbfb02a87
Merge pull request #1408 from etschannen/post-release-cleanup-6.1.0
Post release cleanup 6.1.0
2019-04-02 22:27:23 -07:00
Evan Tschannen 4514043dab update installer WIX GUID following release 2019-04-02 22:26:26 -07:00
Evan Tschannen 1963b93bf3 update versions target to 6.1.1 2019-04-02 22:26:26 -07:00
Jingyu Zhou bb775eaf45 Only add compiler flags of gperftools for gcc 2019-04-02 19:58:21 -07:00
Evan Tschannen f5b1015f70
Merge pull request #1407 from etschannen/prepare-release-6.1.0
update installer WIX GUID following release
2019-04-02 18:44:30 -07:00
Evan Tschannen 56356814f9 update installer WIX GUID following release 2019-04-02 18:41:52 -07:00
Evan Tschannen e5606589bb
Merge pull request #1405 from etschannen/release-6.1
Update documentation and protocol version for release 6.1.0
2019-04-02 18:40:16 -07:00
Evan Tschannen 985e1de467 Update documentation and protocol version for release 6.1.0 2019-04-02 18:39:24 -07:00
Evan Tschannen 41de0191b3
Merge pull request #1382 from cdonati/python-pack-versionstamp
Fix Versionstamp encoding issue for Value objects
2019-04-02 18:17:18 -07:00
Evan Tschannen 30133a30e0
Merge pull request #1403 from etschannen/release-6.1
Ported a bug fix to the 6.0 log system, and updated documentation
2019-04-02 17:56:18 -07:00
Evan Tschannen 6223b0b94d
Merge pull request #1397 from etschannen/feature-maintenance-zone
Added the ability to mark a zoneId for maintenance
2019-04-02 17:55:34 -07:00
Jingyu Zhou 56a1128a9b Enhance cmake's gperftools support
Add compiler flags and link flags for gperftools.
2019-04-02 17:34:29 -07:00
mpilman 30500d5a61 Added docs for building with JavaWorkload 2019-04-02 17:26:35 -07:00
mpilman 160949d071 Remove unnecessary function 2019-04-02 16:28:34 -07:00
mpilman d38efac7f8 minor code cleanup 2019-04-02 16:23:36 -07:00