1
0
Fork 0
arangodb/Documentation/Examples/RestReplicationLoggerFollow...

14 lines
2.1 KiB
Plaintext

shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11336
HTTP/1.1 200 OK
x-arango-replication-frompresent: true
x-arango-replication-lastscanned: 11349
x-content-type-options: nosniff
x-arango-replication-lastincluded: 11349
content-type: application/x-arango-dump; charset=utf-8
x-arango-replication-checkmore: false
x-arango-replication-lasttick: 11349
x-arango-replication-active: true
"{\"tick\":\"11338\",\"type\":2000,\"database\":\"1\",\"cid\":\"11337\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"11337\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"h1BBD368900A3/11337\",\"id\":\"11337\",\"indexBuckets\":8,\"indexes\":[{\"fields\":[\"_key\"],\"id\":\"0\",\"selectivityEstimate\":1,\"sparse\":false,\"type\":\"primary\",\"unique\":true}],\"isSmart\":false,\"isSystem\":false,\"isVolatile\":false,\"journalSize\":33554432,\"keyOptions\":{\"allowUserKeys\":true,\"lastValue\":0,\"type\":\"traditional\"},\"name\":\"products\",\"numberOfShards\":1,\"planId\":\"11337\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n{\"tick\":\"11342\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11337\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p1\",\"_key\":\"p1\",\"_rev\":\"_W0jy7pO--_\",\"name\":\"flux compensator\"}}\n{\"tick\":\"11344\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11337\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_W0jy7pO--B\",\"hp\":5100,\"name\":\"hybrid hovercraft\"}}\n{\"tick\":\"11346\",\"type\":2302,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11337\",\"cname\":\"products\",\"data\":{\"_key\":\"p1\",\"_rev\":\"_W0jy7pO--D\"}}\n{\"tick\":\"11348\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11337\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_W0jy7pO--F\",\"hp\":5100,\"name\":\"broken hovercraft\"}}\n{\"tick\":\"11349\",\"type\":2001,\"database\":\"1\",\"cid\":\"11337\",\"cname\":\"products\",\"data\":{\"cuid\":\"h1BBD368900A3/11337\",\"id\":\"11337\",\"name\":\"products\"}}\n"