pietermartin / sqlg

TinkerPop graph over sql
MIT License
245 stars 51 forks source link

Optimize `Topology.beforeCommit` for distributed Sqlg #403

Closed pietermartin closed 3 years ago

pietermartin commented 3 years ago

Before commit takes too heavy a performance hit traversing the schema objects looking for uncommitted entries. Need a boolean marker to point to the existence of a change to propagate.

pietermartin commented 3 years ago

Same goes for afterCommit

pietermartin commented 3 years ago

Done, added back in isSchemaChanged check to only check the topology maps if something changed.