Skip to content
#

distributed-database

Here are 227 public repositories matching this topic...

lilic
lilic commented May 20, 2021

etcd in tests to assert equality uses mixed https://github.com/stretchr/testify/assert and etcd' own testutil.AssertEqual function. This issue suggests using github.com/stretchr/testify/assert.Equals everywhere and removing testutil.AssertEqual function.

Example of what we want everywhere: https://github.com/etcd-io/etcd/blob/e2d67f2e3bfa6f72178e26557bb22cc1482c418c/server/datadir/datadir

cockroach
itsbilal
itsbilal commented May 7, 2021

Join tokens are created by the create_join_token() SQL builtin and
returned as base64 encoded strings.

  • To account for any future
    modifications to the join token format, the marshalled form of it
    should have a version number in it at a fixed offset (ideally 0)
    in addition to all the existing fields. This will ease in any future
    updates to the join token format.
  • the base64 fo
strongduanmu
strongduanmu commented May 20, 2021

After PR #10402 is merged, we need to add some test cases for postgresql start/end transaction statements, including parse result tests and rewrite tests.

If you are a newbie, you can use the SQLParserParameterizedTest and ShardingSQLRewriterParameterizedTest classes as the entrance to understand the logic of parsing tests and rewriting tests.

If you are interested, please leave a com

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-
yugabyte-db
proddata
proddata commented Apr 23, 2021

Use case:
Right now one can only use date_trunc() to easily define time buckets. date_trunc() only supports predefine time intervals like 1 minute, 1 hour, etc. . In time-series use cases it is often necessary to define different time bucket sizes like e.g. '5 minutes' or '20 minutes'

a workaround for this is the - error prone - integer division on the timestamp e.g.

S

Improve this page

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

Learn more