The Wayback Machine - https://web.archive.org/web/20211123065801/https://github.com/topics/distributed-database
Skip to content
#

distributed-database

Here are 241 public repositories matching this topic...

cockroach
rafiss
rafiss commented Nov 16, 2021

Although RULE is not listed as an allowed privilege on https://www.postgresql.org/docs/current/functions-info.html it turns out that PG supports a query like this

select has_table_privilege('table'::regclass::oid, 'RULE')

Some tools rely on this. We can implement it in CRDB by always returning false, since CRDB does not have RULE privileges.


Instructions:

  • Modify t
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
jaki
jaki commented Nov 18, 2021

Description

There are two logs that show the index backfill postgres connection's authentication key (password):

  • a VLOG(1) in ConnectToPostgres that happens each call
  • a LOG(WARNING) in ConnectToPostgres that happens only on bad connections

Ideally, this should not be visible in logs. It isn't a huge threat because, to use the auth key, you would need to use the yb-tserver-

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