Commit fec1ded3 authored by Greg Williams's avatar Greg Williams
Browse files

Merged in develop. test_system_async throughput test is failing due to HMAC...

Merged in develop. test_system_async throughput test is failing due to HMAC errors, which may be due to drive checking integrity of value tags which are currently populated with dummy hash values.
parents 54d60ca1 e09a2e55
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ LIB_OBJS = \
	$(OUT_DIR)/kinetic_memory.o \
	$(OUT_DIR)/kinetic_semaphore.o \
	$(OUT_DIR)/kinetic_countingsemaphore.o \
	$(OUT_DIR)/kinetic_resourcewaiter.o \
	$(OUT_DIR)/byte_array.o \
	$(OUT_DIR)/kinetic_client.o \
	$(OUT_DIR)/kinetic_admin_client.o \
@@ -107,7 +108,7 @@ clean: makedirs update_git_submodules
	cd ${SOCKET99} && make clean
	cd ${LIB_DIR}/threadpool && make clean
	cd ${LIB_DIR}/bus && make clean
	# cd ${JSONC} && make clean -- would be nice, but doesn't have clean task :(
	# cd ${JSONC} && make clean --- make clean task does NOT exist until autoconf is run

update_git_submodules:
	git submodule update --init
+13 −1
Original line number Diff line number Diff line
@@ -18,6 +18,16 @@ Prerequisites
    * Installation (if you don't already have OpenSSL installed)
        * Linux (using apt-get)
            * `> sudo apt-get install openssl`
        * Linux (using yum)
            * `> sudo yum install openssl`
        * OSX (using [Homebrew](http://brew.sh/))
            * `> brew install openssl`
* [json-c](https://github.com/json-c/json-c) for JSON-formatted ACL definition files
    * Installation
        * Linux (using apt-get)
            * `> sudo apt-get install json-c`
        * Linux (using yum)
            * `> sudo yum install json-c`
        * OSX (using [Homebrew](http://brew.sh/))
            * `> brew install openssl`
            
@@ -25,7 +35,7 @@ A release of OpenSSL that provides TLS 1.1 or newer is required.

If the OpenSSL installation is not found, the `OPENSSL_PATH` environment
variable may need to be set to its base path, e.g.
`/usr/local/openssl/1.0.1k/`.
`export OPENSSL_PATH=/usr/local/openssl/1.0.1k/`.

Getting Started
---------------
@@ -65,6 +75,8 @@ API Documentation
    * The ByteArray and ByteBuffer types are used for exchanging variable length byte-arrays with kinetic-c
        * e.g. object keys, object value data, etc.

**NOTE: Configuration structures `KineticClientConfig` and `KineticSessionConfig` should be initialized per C99 struct initialization or memset to 0 prior to use in order to ensure backwards compatibility!**

Client Test Utility
===========================

+4 −0
Original line number Diff line number Diff line
v0.11.0 (kinetic-protocol 3.0.5)
--------------------------------
* Changed API to use a `KineticClientConfig` struct, to keep future configuration changes from breaking the source API.
    * NOTE: KineticClientConfig and KineticSessionConfig rely on C99 struct init.
        * Unconfigured fields will be reverted to defaults if set to 0.
        * These structures must be configured via C99 struct init or memset to 0 prior to population for backwards compatibility.
* Added options for the number of writer, reader, and max threadpool threads, with defaults.
* Added KineticClient_FreeDeviceInfo to free the `KineticDeviceInfo` structure allocated by `KineticClient_GetLog`.
* Added several new examples under src/examples/.
* Added json-c library dependency which will be used for JSON-formatted ACL files for upcoming Admin API and multi-cast drive discovery tool.

v0.10.1 (kinetic-protocol 3.0.5)
--------------------------------
+5 −3
Original line number Diff line number Diff line
@@ -49,12 +49,17 @@ BUILD_ARTIFACTS = File.join(HERE, 'build', 'artifacts', 'release')
TEST_ARTIFACTS = File.join(HERE, 'build', 'artifacts', 'test')
PROTO_OUT = TEST_ARTIFACTS
TEST_TEMP = File.join(HERE, 'build', 'test', 'temp')
DOCS_PATH = File.join(HERE, 'docs/api')

directory DOCS_PATH
CLOBBER.include DOCS_PATH
directory PROTO_OUT
CLOBBER.include PROTO_OUT
directory TEST_TEMP
CLOBBER.include TEST_TEMP

task :clobber

task :test => ['test:delta']

desc "Generate protocol buffers"
@@ -92,9 +97,6 @@ end

namespace :doxygen do

  DOCS_PATH = "./docs/api/"
  directory DOCS_PATH
  CLOBBER.include DOCS_PATH
  VERSION = File.read('./config/VERSION').strip

  task :checkout_github_pages => ['clobber', DOCS_PATH] do
+1 −0
Original line number Diff line number Diff line
@@ -244,6 +244,7 @@ typedef struct _KineticEntry {
    ByteBuffer newVersion;      ///< New version for the object to assume once written to disk (optional)
    bool metadataOnly;          ///< If set for a GET request, will return only the metadata for the specified object (`value` will not be retrieved)
    bool force;                 ///< If set for a GET/DELETE request, will override `version` checking
    bool computeTag;            ///< If set and an algorithm is specified, the tag will be populated with the calculated hash for integrity checking
    KineticSynchronization synchronization; ///< Synchronization method to use for PUT/DELETE requests.
} KineticEntry;

Loading