Skip to content

Instantly share code, notes, and snippets.

@nekufa
Created March 21, 2025 12:36
Show Gist options
  • Save nekufa/00dec62d6b489a69887918292393fb06 to your computer and use it in GitHub Desktop.
Save nekufa/00dec62d6b489a69887918292393fb06 to your computer and use it in GitHub Desktop.
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/114/governor_loop I> configuring replication
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/114/governor_loop I> calling proc_replication, is_master: true, instance_name: default_1_1
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/104/interactive I> self-activated successfully
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/104/interactive I> starting postgres server at ("127.0.0.1", 4327)...
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/122/pgproto I> creating statement storage with capacity 1024
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/122/pgproto I> creating portal storage with capacity 1024
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/104/interactive I> skipped luaL_loadfile due to picodata callback
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main I> entering the event loop
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/110/.proc_replication I> connecting to 1 replicas
cycle-postgres-1 | 2025-03-21 12:29:05.146 [1] main/110/.proc_replication C> failed to connect to 1 out of 1 replicas
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/110/.proc_replication I> leaving orphan mode
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/110/.proc_replication/box.load_cfg I> set 'replication' configuration option to ["[email protected]:3301"]
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/110/.proc_replication/box.load_cfg I> set 'read_only' configuration option to false
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/114/governor_loop I> configured replication with instance, instance_name: default_1_1
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/114/governor_loop I> actualizing replicaset configuration version, replicaset_name: default_1
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/124/applier/[email protected]:3301 I> remote master 210d2054-064f-4a18-ae8c-63592d9fa513 at 127.0.0.1:3301 running Tarantool 2.11.5
cycle-postgres-1 | 2025-03-21 12:29:05.147 [1] main/124/applier/[email protected]:3301 I> leaving orphan mode
cycle-postgres-1 | 2025-03-21 12:29:05.247 [1] main/114/governor_loop I> applying vshard config changes, tier: default
cycle-postgres-1 | 2025-03-21 12:29:05.247 [1] main/114/governor_loop I> calling proc_sharding, instance_name: default_1_1
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/110/.proc_sharding/vshard.storage I> Starting configuration of replica 210d2054-064f-4a18-ae8c-63592d9fa513
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/110/.proc_sharding/vshard.storage I> I am master
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/110/.proc_sharding/vshard.storage I> Taking on replicaset master role...
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/110/.proc_sharding/vshard.storage I> Box has been configured
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/127/lua/vshard.util I> gc_bucket_f has been started
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/127/lua/box.schema schema.lua:1832 W> box.internal.schema_version will be removed, please use box.info.schema_version instead
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/128/lua/vshard.util I> recovery_f has been started
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/110/.proc_sharding/vshard.storage I> Took on replicaset master role
cycle-postgres-1 | 2025-03-21 12:29:05.249 [1] main/129/lua/vshard.util I> rebalancer_f has been started
cycle-postgres-1 | 2025-03-21 12:29:05.251 [1] main/110/.proc_sharding/vshard.router I> Starting router configuration
cycle-postgres-1 | 2025-03-21 12:29:05.251 [1] main/110/.proc_sharding/vshard.router I> Calling box.cfg()...
cycle-postgres-1 | 2025-03-21 12:29:05.251 [1] main/110/.proc_sharding/vshard.router I> {"listen":"127.0.0.1:3301"}
cycle-postgres-1 | 2025-03-21 12:29:05.251 [1] main/110/.proc_sharding/vshard.router I> Box has been configured
cycle-postgres-1 | 2025-03-21 12:29:05.252 [1] main/130/127.0.0.1:3301 (net.box)/vshard.replicaset I> connected to 127.0.0.1:3301
cycle-postgres-1 | 2025-03-21 12:29:05.253 [1] main/131/127.0.0.1:3301 (net.box)/vshard.replicaset I> connected to 127.0.0.1:3301
cycle-postgres-1 | 2025-03-21 12:29:05.253 [1] main/133/lua/vshard.util I> failover_f has been started
cycle-postgres-1 | 2025-03-21 12:29:05.253 [1] main/133/lua/vshard.router I> New replica default_1_1([email protected]:3301) for replicaset(uuid="edc82293-4a20-40b4-b44b-c0629dfe0d01", master=default_1_1([email protected]:3301))
cycle-postgres-1 | 2025-03-21 12:29:05.253 [1] main/133/lua/vshard.router I> All replicas are ok
cycle-postgres-1 | 2025-03-21 12:29:05.253 [1] main/133/lua/vshard.router I> Failovering step is finished. Schedule next after 1.000000 seconds
cycle-postgres-1 | 2025-03-21 12:29:05.253 [1] main/134/lua/vshard.util I> discovery_f has been started
cycle-postgres-1 | 2025-03-21 12:29:05.255 [1] main/114/governor_loop I> updating current vshard config
cycle-postgres-1 | 2025-03-21 12:29:05.256 [1] main/129/vshard.rebalancer/vshard.storage I> The cluster is balanced ok. Schedule next rebalancing after 3600.000000 seconds
cycle-postgres-1 | 2025-03-21 12:29:05.263 [1] main/134/vshard.discovery.default/vshard.router I> Updated replicaset(uuid="edc82293-4a20-40b4-b44b-c0629dfe0d01", master=default_1_1([email protected]:3301)) buckets: was 0, became 1000
cycle-postgres-1 | 2025-03-21 12:29:05.263 [1] main/134/vshard.discovery.default/vshard.router I> Start aggressive discovery, 2000 buckets are unknown. Discovery works with 1 seconds interval
cycle-postgres-1 | 2025-03-21 12:29:05.348 [1] main/114/governor_loop I> enable plugins on instance, instance_name: default_1_1
cycle-postgres-1 | 2025-03-21 12:29:05.348 [1] main/114/governor_loop I> handling instance state change, current_state: Online, instance_name: default_1_1
cycle-postgres-1 | 2025-03-21 12:29:05.449 [1] main/114/governor_loop I> nothing to do, waiting for events to handle
cycle-postgres-1 | 2025-03-21 12:29:06.253 [1] main/133/vshard.failover.default/vshard.router I> All replicas are ok
cycle-postgres-1 | 2025-03-21 12:29:06.275 [1] main/134/vshard.discovery.default/vshard.router I> Updated replicaset(uuid="edc82293-4a20-40b4-b44b-c0629dfe0d01", master=default_1_1([email protected]:3301)) buckets: was 1000, became 2000
cycle-postgres-1 | 2025-03-21 12:29:07.287 [1] main/134/vshard.discovery.default/vshard.router I> Updated replicaset(uuid="edc82293-4a20-40b4-b44b-c0629dfe0d01", master=default_1_1([email protected]:3301)) buckets: was 2000, became 3000
cycle-postgres-1 | 2025-03-21 12:29:07.287 [1] main/134/vshard.discovery.default/vshard.router I> Discovery enters idle mode, all buckets are known. Discovery works with 10 seconds interval now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment