Skip to content

Instantly share code, notes, and snippets.

View yosukehara's full-sized avatar

Yosuke Hara yosukehara

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yosukehara
yosukehara / leo_storage.conf
Last active April 23, 2018 01:46
[leofs][monitoring][telegraf] LeoStorage's Configuration
# Telegraf configuration
# Telegraf is entirely plugin driven. All metrics are gathered from the
# declared plugins.
# Even if a plugin has no configuration, it must be declared in here
# to be active. Declaring a plugin means just specifying the name
# as a section with no variables. To deactivate a plugin, comment
# out the name and any variables.
diff --cc c_src/eleveldb.cc
index 94e0e4f,a453a8e..0000000
--- a/c_src/eleveldb.cc
+++ b/c_src/eleveldb.cc
@@@ -485,11 -514,13 +514,18 @@@ ERL_NIF_TERM parse_open_option(ErlNifEn
else if (option[0] == eleveldb::ATOM_EXPIRY_ENABLED)
{
- if (option[1] == eleveldb::ATOM_TRUE)
+ if (option[1] == eleveldb::ATOM_ENABLED
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/erlang/19.3.6.2 --enable-smp-support --enable-m64-build --enable-halfword-emulator --enable-kernel-poll --without-javac --disable-native-libs --disable-hipe --disable-sctp --enable-threads --enable-systemd
## --------- ##
## Platform. ##

TEST LeoFS' issue#606

  • Date: Feb 11, 2017

Log

$ ./leofs-adm import-user leofs-test-606 20170210 21300900
  access-key-id: 20170210
  secret-access-key: 21300900
-module(mnesia_test).
-record(store, {key, value}).
-export([start/0, start/1, restart/0]).
start() ->
mnesia:create_schema([node()]),
mnesia:start(),
mnesia:create_table(store, [
{disc_copies, [node()]},
{attributes, record_info(fields, store)}
##
## LeoFS' Erlang
##
FROM gliderlabs/alpine:3.4
MAINTAINER LeoFS <leo-project.net/leofs/>
ENV LANG=en_US.UTF-8 \
HOME=/var/local/erlang/ \
TERM=xterm
leo_storage.dockerfile
[default]
access_key = 05236
access_token =
add_encoding_exts =
add_headers =
bucket_location = US
ca_certs_file =
cache_file =
check_ssl_certificate = True
cloudfront_host = cloudfront.amazonaws.com
$ leofs-adm status
 [System Confiuration]
-----------------------------------+----------
 Item                              | Value
-----------------------------------+----------
 Basic/Consistency level
-----------------------------------+----------
                    system version | 1.2.16
                        cluster Id | leofs_1