The Wayback Machine - https://web.archive.org/web/20200608044545/https://github.com/topics/raft
Skip to content
#

raft

Here are 363 public repositories matching this topic...

rkd-msw
rkd-msw commented Apr 18, 2019

I'm using TLS on etcd 3.3.12 and have a mix of etcd proxies and masters. The proxies don't seem to honour the --cipher-suites setting, as it ends up with ECDHE-RSA-AES256-GCM-SHA384 despite --cipher-suites=TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 being set.

$ pgrep -laf /usr/bin/etcd
21968 /usr/bin/etcd --listen-client-urls https://0.0.0.0:4000 --adv
JeanGolang
JeanGolang commented Feb 7, 2017

Hello Philip!
I think there is an issue with this part of the code of rqlite (store/store.go).

func (s *Store) Database(leader bool) ([]byte, error) {
	if leader && s.raft.State() != raft.Leader {
		return nil, ErrNotLeader
	}
	// Ensure only one snapshot can take place at once, and block all queries.
	s.mu.Lock()
	defer s.mu.Unlock()

	f, err := ioutil.TempFile("", "rqlilte-snap-
kmoppel
kmoppel commented Feb 2, 2017

Hey!
Not a big problem of course but currently when you do "pip install patroni" you still need to go to Github and save a copy of for https://github.com/zalando/patroni/blob/master/postgres0.yml to get started. I know there are env variables but there are quite some to remember. So would be very convenient if running something like "patroni --initconf postgres0.yml" would fill the postgres0.yml

nebula
jude-zhu
jude-zhu commented Jan 6, 2020
  1. create an edgetype with prop
> create edge choose(grade int)
  1. create the edgetype without any prop using if not exists
> create edge if not exists choose()
Execution succeeded (Time spent: 12.129/13.466 ms)
  1. check the schema of choose
describe edge choose;
================
| Field | Type |
================
| grade | int  |
----------------
G
gawi
gawi commented Sep 21, 2018

Is your feature request related to a problem? Please describe.

Configuration options are not documented on the web site.

Describe the solution you'd like

I need to look at the code (i.e. the *Config classes) or at the Javadoc in order to determine the configuration options. I'd like to have it documented on the website and to be sure that the configuration options match whatever

iyesin
iyesin commented Nov 4, 2019

Expected result:

Can't find schema.json or it's not readable. Default location (`./etc/schema.json`) could be overridden with `-s, --schema-file` command-line paramethers

Actual result:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1084:5
note: run with `RUST_
rohitjoshi
rohitjoshi commented Jul 5, 2018

I have a use-case where two key-val should be inserted atomically (if not exist)and either insert fails should roll back. The 2nd key is a secondary index.

Key1= Hash1
Value1= Token1

Key2= Token1
Value2= json payload

How can I insert both atomically? Now if Key1 or Key2 (Token1) already exists, it should roll back the operation.

I see [HmsetWithTxn ](https://github.com/yongman

Improve this page

Add a description, image, and links to the raft topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the raft topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.