DB lock mechanism

Hi

I need to know about locking mechanism in influxdb. Is there any locking mechanism or not. If yes then where I can find documentation regarding this. Or if some one can explain here about db lock or measurement lock mechanism, Specially while dealing with retention policy.

Thanks

What are you trying to do? Lock the DB so that it doesn’t accept writes?

Would it be possible to retake this question?

I am also interested in figuring out if there is a way to lock write operations for safely performing read operations on a fully static DB. This is not the nominal use of my DB, yet it is one “special” functionality I need to implement to be triggered under certain circumstances.

I cannot find such a locking mechanism in the doc, so I assume there is not such thing in InfluxDB, but it would be great to get confirmation.

Thanks in advance.