Krishna Srinivas
32c3a558e9
distributed-XL: Support to run one minio process per export even on the same machine. ( #2999 )
...
fixes #2983
8 years ago
Frank
ea406754a6
New dsync and added ForceUnlock to lock rpc server ( #2956 )
...
* Update dsync and added ForceUnlock function
* Added test cases for ForceUnlock
8 years ago
Krishnan Parthasarathi
b59bac670a
Handle err returned by rpc.Server.RegisterName ( #2910 )
8 years ago
Harshavardhana
fa8ea41cd9
lock/instrumentation: Cleanup and print in user friendly form. ( #2807 )
8 years ago
Harshavardhana
6494b77d41
server: Add more elaborate startup messages. ( #2731 )
...
These messages based on our prep stage during XL
and prints more informative message regarding
drive information.
This change also does a much needed refactoring.
8 years ago
Bala FA
63a7ca1af0
web: fix jwt token expiry set to one day by default. ( #2819 )
...
Fixes #2818
8 years ago
Anis Elleuch
9fb1c89f81
Add TLS encryption capability to RPC clients ( #2789 )
8 years ago
Harshavardhana
1c941fd787
rpc: Should validate server versions. ( #2775 )
...
Fixes #2764
8 years ago
Harshavardhana
113b93346b
lock: Make some cleanup and moving the code around. ( #2718 )
...
This patch just avoids lot of ifs and inverts some logic.
8 years ago
Harshavardhana
9216981262
tests: Add test for diskCount. ( #2717 )
...
Fixes #2312
8 years ago
Frank
df2ef64d20
Upgrade to new dsync version incl. stale lock detection ( #2708 )
8 years ago
Frank
7f92165c79
Single use DRWMutex, RPCClient refactor and added missing cases to lock-rpc-server ( #2560 )
...
This PR contains various fixes for the distributed release:
- Use DRWMutex in namespace-lock only for a single Lock()/RLock() call in conformance to server-side rw-locking as implemented in minio/dsync
- Implement missing cases in lock-rpc-server to catch Unlock() for active read locks and RUnlock() for an active write lock
- Refactor RPCClient to release local mutex while making actual RPC.Call()
8 years ago
Harshavardhana
9605fde04d
controller/auth: Implement JWT based authorization for controller. ( #2544 )
...
Fixes #2474
8 years ago
Harshavardhana
e1b0985b5b
rpc: Refactor authentication and login changes. ( #2543 )
...
- Cache login requests.
- Converge validating distributed setup.
8 years ago
Krishnan Parthasarathi
bda6bcd5be
Layered rpc-client implementation ( #2512 )
8 years ago
Harshavardhana
bb0466f4ce
control: Fix controller CLI handling with distributed server object layer.
...
Object layer initialization is done lazily fix it.
8 years ago
Krishnan Parthasarathi
1f67c18222
Lock/Rlock rpc reply was incorrect ( #2479 )
8 years ago
Krishnan Parthasarathi
229600ce9b
Implement RLock, RUnlock rpc handlers ( #2437 )
...
This would make it simplify dsync.RWMutex's algorithm to acquire a
distributed read lock and be tolerant to N/2-1 failures.
8 years ago
Krishnan Parthasarathi
b7c169d71d
object layer initialization using distributed locking ( #2397 )
...
* vendorized latest minio/dsync
* wip - object layer initialization using distributed locking
8 years ago
Krishnan Parthasarathi
e55926e8cf
distribute: Make server work with multiple remote disks
...
This change initializes rpc servers associated with disks that are
local. It makes object layer initialization on demand, namely on the
first request to the object layer.
Also adds lock RPC service vendorized minio/dsync
8 years ago