bitflicker64 commented on code in PR #3237: URL: https://github.com/apache/hugegraph/pull/3237#discussion_r4094271874
########## hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.properties: ########## @@ -4,6 +4,10 @@ gremlin.graph=org.apache.hugegraph.HugeFactory # cache config #schema.cache_capacity=100000 +# hstore only: check the schema version in PD every 10s, so that schema +# changes made through other servers are visible here within about 10s Review Comment: Done in be932423 (conf template) and apache/hugegraph-doc#498 (EN and CN config pages, row for `schema.sync.enabled`). Both now say the bound holds only when every Server of the graph runs this release with `schema.sync.enabled=true`, `schema.sync.reconcile_interval` above 0 and PD reachable. For DDL during the mixed-version window: older Servers write no version for schema updates, so after the last Server is upgraded, make one schema change or restart the Servers. A new version makes every Server clear its whole schema cache on the next tick, and a restarted Server always clears on its first tick, so both reload the missed change from PD. The PR description lists this under known limits. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
