Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do read-only operations still need repository write access?

0
10 Posted

Why do read-only operations still need repository write access?

0

Certain client operations are “read-only”, like checkouts and updates. From an access-control standpoint, apache treats them as such. But libsvn_fs (the repository filesystem API) still has to write temporary data in order to produce tree-deltas. So the process accessing the repository always requires both read and write access to the Berkeley DB files in order to function. In particular, the repository responds to many “read-only” operations by comparing two trees. One tree is the usually the HEAD revision, and the other is often a temporary transaction-tree — thus the need for write access.

0

Certain client operations are “read-only”, like checkouts and updates. From an access-control standpoint, apache treats them as such. But libsvn_fs (the repository filesystem API) still has to write temporary data in order to produce tree-deltas. So the process accessing the repository always requires both read and write access to the Berkeley DB files in order to function. In particular, the repository responds to many “read-only” operations by comparing two trees. One tree is the usually the HEAD revision, and the other is often a temporary transaction-tree — thus the need for write access. This limitation only applies to the bdb backend; the FSFS backend does not exhibit this behaviour.

0

Certain client operations are “read-only”, like checkouts and updates. From an access-control standpoint, Apache treats them as such. But libsvn_fs (the repository filesystem API) still has to write temporary data in order to produce tree-deltas. So the process accessing the repository always requires both read and write access to the Berkeley DB files in order to function. In particular, the repository responds to many “read-only” operations by comparing two trees. One tree is the usually the HEAD revision, and the other is often a temporary transaction-tree — thus the need for write access. This limitation only applies to the Berkeley DB backend; the FSFS backend does not exhibit this behaviour.

0

Certain client operations are “read-only”, like checkouts and updates. From an access-control standpoint, Apache treats them as such. But libsvn_fs (the repository filesystem API) still has to write temporary data in order to produce tree-deltas. So the process accessing the repository always requires both read and write access to the Berkeley DB files in order to function.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.