<@U6YPB4SJX> when should `initial_lease` be true w...
# development
a
@average-vr-56795 when should
initial_lease
be true when doing something like
store_file_bytes()
? https://github.com/pantsbuild/pants/blob/df6a2fcf0e800725cbab137aa7e3ecd09f99b52d/src/rust/engine/fs/store/src/lib.rs#L234-L239 it seems like
initial_lease
is read exactly once, in `sharded_lmdb/lib.rs`:
Copy code
if initial_lease {
            store.lease(
              lease_database,
              &key,
              Self::default_lease_until_secs_since_epoch(),
              &mut txn,
            )?;
          }
when is this supposed to be true?