Go to the Cloudformation Wizard
Recommended values:
- ClusterSize: 1 node
- Discovery URL: as it says, you need to grab a new token from https://discovery.etcd.io/new and paste it in the box.
Go to the Cloudformation Wizard
Recommended values:
(pprof) web | |
Total: 6962 samples | |
Dropping nodes with <= 34 samples; edges with <= 6 abs(samples) | |
Loading web page file:////tmp/EmBAQVn6Kr.0.svg | |
Can't exec "/etc/alternatives/gnome-www-browser": No such file or directory at /usr/lib/go/pkg/tool/linux_amd64/pprof line 743. | |
Can't exec "/etc/alternatives/x-www-browser": No such file or directory at /usr/lib/go/pkg/tool/linux_amd64/pprof line 743. | |
Can't exec "google-chrome": No such file or directory at /usr/lib/go/pkg/tool/linux_amd64/pprof line 743. | |
Can't exec "firefox": No such file or directory at /usr/lib/go/pkg/tool/linux_amd64/pprof line 743. | |
Could not load web browser. | |
(pprof) quit |
public void forceInsert(RevisionInternal rev, List<String> revHistory, URL source) throws CouchbaseLiteException { | |
// TODO: in the iOS version, it is passed an immutable RevisionInternal and then | |
// TODO: creates a mutable copy. We should do the same here. | |
// TODO: see github.com/couchbase/couchbase-lite-java-core/issues/206#issuecomment-44364624 | |
RevisionInternal winningRev = null; | |
boolean inConflict = false; | |
String docId = rev.getDocId(); |
public void testNestedSQLTransactionRollback() throws Exception { | |
String schema = "CREATE TABLE docs ( " + | |
" doc_id INTEGER PRIMARY KEY, " + | |
" val TEXT UNIQUE NOT NULL); "; | |
LiteTestContext context = new LiteTestContext(); | |
String dbName = "testNestedSQLTransactionRollback" + System.currentTimeMillis(); | |
String path = context.getFilesDir() + File.separator + dbName + Manager.DATABASE_SUFFIX; | |
SQLiteDatabase sqlDatabase = SQLiteDatabase.openDatabase(path, null, SQLiteDatabase.CREATE_IF_NECESSARY); |
// Set the username and password for the cluster. The same as calling: | |
// $ couchbase-cli cluster-init .. | |
// | |
// Docs: http://docs.couchbase.com/admin/admin/REST/rest-node-set-username.html | |
func (c CouchbaseCluster) ClusterInit(ip, adminUsername, adminPass string) error { | |
client := &http.Client{} | |
endpointUrl := fmt.Sprintf("http://%v:%v/settings/web", ip, COUCHBASE_PORT) |
public void testNestedSQLTransactionRollback() throws Exception { | |
String schema = "CREATE TABLE docs ( " + | |
" doc_id INTEGER PRIMARY KEY, " + | |
" val TEXT UNIQUE NOT NULL); "; | |
LiteTestContext context = new LiteTestContext(); | |
String dbName = "testNestedSQLTransactionRollback" + System.currentTimeMillis(); | |
String path = context.getFilesDir() + File.separator + dbName + Manager.DATABASE_SUFFIX; | |
SQLiteDatabase sqlDatabase = SQLiteDatabase.openDatabase(path, null, SQLiteDatabase.CREATE_IF_NECESSARY); |
hbase]# tree | |
. | |
├── bin | |
│ ├── cbbackup | |
│ ├── cbbrowse_logs | |
│ ├── cbcollect_info | |
│ ├── cbdump-config | |
│ ├── cbenable_core_dumps.sh | |
│ ├── cbepctl | |
│ ├── cbhealthchecker |
. | |
├── bin | |
│ ├── cbbackup | |
│ ├── cbbrowse_logs | |
│ ├── cbcollect_info | |
│ ├── cbdump-config | |
│ ├── cbenable_core_dumps.sh | |
│ ├── cbepctl | |
│ ├── cbhealthchecker | |
│ ├── cbrecovery |
core@core-01 ~ $ journalctl --no-pager -u etcd | |
-- Logs begin at Tue 2014-12-16 16:24:47 UTC, end at Wed 2015-01-14 19:54:09 UTC. -- | |
Dec 16 16:24:55 core-01 systemd[1]: Starting etcd... | |
Dec 16 16:24:55 core-01 systemd[1]: Started etcd. | |
Dec 16 16:24:55 core-01 etcd[833]: [etcd] Dec 16 16:24:55.533 INFO | The path /var/lib/etcd/log is in btrfs | |
Dec 16 16:24:55 core-01 etcd[833]: [etcd] Dec 16 16:24:55.534 INFO | Set NOCOW to path /var/lib/etcd/log succeeded | |
Dec 16 16:24:55 core-01 etcd[833]: [etcd] Dec 16 16:24:55.535 INFO | Discovery via https://discovery.etcd.io using prefix /6b8801383f271ad52e96fc90f570adb8. | |
Dec 16 16:24:55 core-01 etcd[833]: [etcd] Dec 16 16:24:55.809 INFO | Discovery _state was empty, so this machine is the initial leader. | |
Dec 16 16:24:55 core-01 etcd[833]: [etcd] Dec 16 16:24:55.809 INFO | Discovery fetched back peer list: [] | |
Dec 16 16:24:55 core-01 etcd[833]: [etcd] Dec 16 16:24:55.810 INFO | 0f26e50a64dd4941b622e7f0bdc82929 is starting a new cluster |
01-14 00:25:21.484 D/Sync ( 4347): changeTrackerReceivedChange: {seq=59956, id=0b5f114f-e665-48a5-8cc8-62f60c97ab7c, changes=[{rev=6-71ece6cf8bc860653b6e5690d0f1263d}]} | |
01-14 00:25:21.484 D/Sync ( 4347): com.couchbase.lite.replicator.PullerInternal@52990b88: adding rev to inbox {0b5f114f-e665-48a5-8cc8-62f60c97ab7c #6-71ece6cf8bc860653b6e5690d0f1263d} | |
01-14 00:25:21.484 V/Sync ( 4347): com.couchbase.lite.replicator.PullerInternal@52990b88: changeTrackerReceivedChange() incrementing changesCount by 1 | |
01-14 00:25:21.484 V/Sync ( 4347): com.couchbase.lite.replicator.PullerInternal@52990b88: Incrementing changesCount count from 812 by adding 1 -> 813 | |
01-14 00:25:21.484 V/Sync ( 4347): com.couchbase.lite.replicator.PullerInternal@52990b88: addToInbox() called, rev: {0b5f114f-e665-48a5-8cc8-62f60c97ab7c #6-71ece6cf8bc860653b6e5690d0f1263d}. Thread: Thread[CBLManagerWorkExecutor,5,main] | |
01-14 00:25:21.484 V/Sync ( 4347): com.couchbase.lite.replicator.PullerInternal@52990b88: addToInbox() calling u |