Skip to content
#

consensus

Here are 294 public repositories matching this topic...

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-
Magicking
Magicking commented Apr 24, 2019

Quorum doesn't return a message error clearly specifying the cause of an error (from a user standpoint) when the transaction manager fails to Quorum (e.g: 400 bad request, ...).

System information

Release: 2.2.3

Expected behaviour

Helpful error message

Actual behaviour

invalid argument 0: json: cannot unmarshal non-string into Go value of type common.Hash

brapse
brapse commented Feb 27, 2020

The blockchain v2 reactor utilizes concurrency to saturate the bottleneck of writing blocks to disk. This concurrency is internal to the reactor where the reactor itself will launch and manage internal state machines running as go-routines. This configuration makes testing difficult as we don't know when messages processed by internal state machines will be processed and when we can assert that th

thedodd
thedodd commented Aug 17, 2020

Here is a rough idea of what this test should do:

  • It should be quite similar to the other tests which are currently in place.
  • It should isolate a follower node, write a data to the cluster which will cause that node to fall behind into lagging state, but not into snapshotting state.
  • It should then spawn a task which will continue to write data to the cluster.
  • Just after it is spawne
go-spacemesh
lrettig
lrettig commented Sep 10, 2020

Description

We need a short version of our full unit test suite that doesn't take too long to run, and that passes on all supported operating systems (linux, macos, windows, freebsd) without needing a special ulimit env. This will also be useful for running against the other operating systems in CI (see #2060).

Right now, I cannot even run the full unit test suite locally on my Mac, even wi

Improve this page

Add a description, image, and links to the consensus 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 consensus topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.